... | ... | @@ -55,6 +55,7 @@ |
|
|
| `markprice` | |
|
|
|
| `premium` | The ratio of mark price over index price. Eg `mark = 11000, index = 10000` - the premium will be `1000/10000 = 0.1` |
|
|
|
| `fundingrate` | The next funding rate %. You could use that as a trigger, `wait fundingrate < -0.003, buy 30%accountvalue` |
|
|
|
| `if - else` | **Anti-stop-hunt stop** *(slow triggering stop with scaled check times to see if price is still below trigger price or not before executing)* - `wait markprice < 23500, wait 8, if markprice < 23500, close all, else, wait 15, if markprice < 23500, close all, else, wait 35, if markprice < 23500, close all, else, wait 150, if markprice < 23500, close all, else, end` - in this example you can clearly see how you can continue - "if the next command is true, do this, otherwise continue on". |
|
|
|
|
|
|
# [Go To Advanced Command Examples Wiki Page](https://gitlab.com/Ichimikichiki/ichibot-client-app/-/wikis/Home/Z-Advanced-Examples)
|
|
|
# [Go To Advanced Variable Examples Wiki Page](https://gitlab.com/Ichimikichiki/ichibot-client-app/-/wikis/Home/Z-Advanced-Variable-Examples) |
|
|
\ No newline at end of file |