Base logic
Understand Origami Tech’s base logic structure used to build dynamic, rule-based trading strategies with logical conditions and data processing functions.
Boolean operators
()
()x if smth else y
x if smth else y<x> or <y>
<x> or <y>x
y
result
<x> and <y>
<x> and <y>x
y
result
<x> == <y>
<x> == <y>x
y
result
`<x>
`<x>x
y
result
<x> > <y>
<x> > <y>x
y
result
<x> >= <y>
<x> >= <y>x
y
result
<x> < <y>
<x> < <y>x
y
result
<x> <= <y>
<x> <= <y>x
y
result
Math operators
()
()<x> / <y>
<x> / <y><x> * <y>
<x> * <y><x> + <y>
<x> + <y><x> - <y>
<x> - <y><x> ** <y>
<x> ** <y><x> ^ <y>
<x> ^ <y>Last updated