Orders & positions

Order & Position Filtering

Filtering of Orders and Positions

It is always recommended to use testnet/sandbox first!

Filtering of Orders

# cancel all orders that have a custom id STARTING with ANY of the listed ids
cancel=order id=SOME_ID,ANOTHER_ID
Checks & Conditionals: click here for more useful syntax snippets!

Filter Support for Orders

Exchangefp=tp=1sl=1so=1ts=1t=limitt=markett=opent=closer=0/1iso=id=price⁴
Binance–––––
Binance Futures––
Bitfinex³³–––––¹
Bybit³³³³³–
Coinbase Advanced––––––¹
Deribit³³––––––
Gemini––––––––––
Kraken––––––––––¹
Kraken Futures––––¹
KuCoin–––––
KuCoin Futures³³³–³–
OANDA––––––
OKX––
Phemex–––
Poloniex––––––––––¹
SimpleFX––––––––––
¹ ID cache for all orders² ID cache for stops³ Equal (all stop orders)⁴ via gt=/gte=/lt=/lte= (absolute or relative)

Filter Support for Positions

Exchanges=*fp=l=pm=size%²pnl%³price⁴
Binance Futures
Bitfinex–––
Bybit–
Deribit––
Kraken–
Kraken Futures––
KuCoin Futures–––
OANDA––¹¹
OKX–
Phemex–
Poloniex–––––––
SimpleFX––¹¹
¹ not for all markets² via minsize=/maxsize= (absolute or relative)³ via minpl=/maxpl= (absolute or relative)⁴ via gt=/gte=/lt=/lte= (absolute or relative)
Attention: Always double check that you are using the right syntax/alert!