|
Be careful bumping orders that are tagged with wait fill or wait close as the following order, as FTX handle price edits by cancelling the order and replacing them. So that'll trigger your next order. |
terminate or fuck
|
To cancel wait orders you must use terminate or fuck
|
|
Also the relative prices are evaluated when the command is executed. For instance if you use 1% from market price, it'll be 1% from when the order is triggered, rather than when you are placing it |
wait <seconds> |
simply waits the given number of seconds eg buy 1 11000, wait 7, stop m-1% - waits 7 seconds after the previous order in a serial order string, before placing the next |
wait close |
waits for the latest order to close. And order can close by being filled, rejected or cancelled. Can only be used if the previous command is a buy or sell command (eg can't be used on splits or chase orders. Chase orders don't require this (and cannot accept a wait trigger), since it's hardcoded into the chase system to wait until closed before moving onto the next order. You can ofc still use splits inside the serial order, but just can't use them as triggers
|
wait fill |
Wait until previous command is filled before continuing. Note this will break the chain completely if you cancel said order, or it'll just wait there indefinitely if it doesn't fill. Note these don't take up any margin, as it's all handled internally. (Can only be used if the previous command is a buy or sell command). |
wait position |
Waits until the position on the current instrument is not zero. |
wait price |
wait price < 9999, buy 1 - waits for price to hit 9999 before executing the next order - buy 1 |
wait upnl |
wait upnl > 9000, close futures |
wait bidsize/asksize |
wait bidsize > 1000000, sell 1000000 |
wait fundingrate |
`wait fundingrate > 0.003, close all |
wait markprice |
wait markprice > m+0.001% m+0.001% being market price +0.001% or ~$28 |
wait indexprice |
wait indexprice > markprice+0.0023% |
wait candle 15 m |
wait candle 15 m, if lastprice < 33500, buy 1, else end - waits for the candle close, so you can combine that with price or whatever else we add later. |
repeat |
Repeat the series up to the last ; for eg wait 5, buy 1, repeat 3 to run once, then repeat another 3 times for a total of 4 runs. Or repeat no specified number to just keep repeating on an infinite loop. |
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". |
cmd list |
Shows a list of your string commands and their status / order |
terminate |
marks all currently processing commands to be terminated - the immediate commands in execution may still get through but in parallel/serial batches no new commands will be started. Can be used in a serial order string as well. Does NOT affect chase - as that's a separate system. |
terminate last |
Terminates just the last one. |
fuck |
ichibot safe word. Same as terminate , but more appropriate and satisfying when you fuck it up. |
...................................//////// |
|