Cancel Orders

Cancel all open orders, if you provide a portfolioId, cancel all open orders under that portfolio. If you don't provide one, cancel all open orders for the user across all portfolios.

Permission

  • Applies to both primary user and trading portfolio's API Key.
  • Permission: TRADE.

Rate Limit

  • 50 requests per 10 seconds.

Request

NameTypeMandatoryDescription
exchangeTypeStringNExchange type
symStringNSym(unique identifier:Exchange_Business_Base_Counter.
Example:
If you want to place a SPOT order for the BTC/USDT trading pair on the Binance exchange, you can use a unique identifier like this: "BINANCE_SPOT_BTC_USDT" ;
If you want to place a PERPETUAL order for the BTC/USDT trading pair on the Binance exchange, you can use a unique identifier like this: "BINANCE_PERP_BTC_USDT" ;
If you want to place a MARGIN order for the BTC/USDT trading pair on the Binance exchange, you can use a unique identifier like this: "BINANCE_MARGIN_BTC_USDT" ;
)

Note that we currently only support the SPOT, MARGIN and PERPETUAL trade of Binance and OKX.
Language