Cancel orders by id=, by exchange
You tag an order with id=trend-entry, and later you send c=order id=trend-entry to pull just that order. Whether Autoview cancels only that order depends on the exchange. On some, the cancel checks your id=. On the rest, Autoview drops id= from the cancel and removes every open order on the symbol that matches the rest of the line.
This page comes from the Autoview integrations code that runs on our servers today. We read the code; we did not re-run each exchange live for this guide. Test your own cancel with d=1 before you rely on it.
Exchanges that check id= on a cancel
On these, c=order id=X cancels only open orders whose identifier is exactly X. The match is on the whole value, so id=trend does not catch trend-entry.
| Exchange | What the cancel compares |
|---|---|
| Binance spot, Binance USD-M futures, Binance COIN-M futures | The client order ID Autoview set when it placed the order, without the prefix Autoview adds. |
| Bitget spot, Bitget futures | The client order ID. Autoview adds a timestamp to each id, so one value can sit on several open orders and the cancel still finds all of them. |
| Kraken | The client order ID, or the numeric user reference when your id is a number. |
| Kraken Futures | The client order ID. |
| KuCoin spot, KuCoin Futures | The client order ID. |
| OANDA | The client extension id on the order. |
On Binance, Kraken and OANDA one id= value can rest on only one open order at a time. The several strategies on one account guide explains why, and how to name ids per order.
Hyperliquid and Tradovate: not confirmed
On Hyperliquid, Autoview sends your id= with the order as its client order ID, but the cancel compares id= with Hyperliquid's own order number. We have not run it. Read literally, c=order id=trend-entry may cancel nothing. Check it with d=1 first.
On Tradovate, Autoview sets your id= as the order's custom tag, but Tradovate's open-order list does not return that tag, so read literally c=order id=trend-entry matches no order and cancels nothing. The code carries a note on this too. Treat Tradovate as untested and check it with d=1 first. "No open orders." in the log means the id was not seen.
Exchanges that ignore id= on a cancel
On these, c=order id=trend-entry behaves exactly like c=order. Every open order on the symbol that matches the rest of the line is cancelled, including orders another strategy placed.
| Exchange | What still narrows the cancel |
|---|---|
| Alpaca, Binance.US, Bitfinex, BitMEX, Bybit, Capital.com, Coinbase Advanced, Crypto.com, Deribit, Gate.io, Gemini, HTX, OKX, TradeStation | The symbol, plus b=, t= and fp= where the exchange supports them. |
| Charles Schwab | The same. An id check is stubbed out in the code and not switched on. |
Bitget and KuCoin Futures copy trading: no cancel at all
On a Bitget copy trading account or a KuCoin Futures copy trading account, c=order cancels nothing, with or without id=. Autoview stops the line with "Canceling Open Orders is not supported." Cancel those orders on the exchange itself. Bybit copy trading is different: it cancels, and ignores id= like Bybit.
Some of these exchanges still receive your id= when an order is placed. OKX, HTX, Coinbase Advanced and TradeStation all pass it along. That only labels the order on the exchange. It does not make a later c=order look for it.
How to scope a cancel where id= is ignored
- Narrow by side.
c=order b=buyleaves your sell orders alone on most exchanges. b= by exchange lists the ones that read it differently. - Narrow by type.
t=opencancels resting entries andt=closecancels resting stops on exchanges that read it, among them Alpaca, Binance.US, Coinbase Advanced, Crypto.com, Deribit and TradeStation from the list above. They disagree on what counts as a close order, Capital.com readst=stopinstead, and Bybit and BitMEX are not confirmed. See cancel only stops or only entries, by exchange. - Narrow by price.
fp=cancels only orders at that price, on exchanges that check it. Coinbase Advanced, Charles Schwab and HTX spot and coin-margined contracts ignore it, and TradeStation is not confirmed. See cancel orders by price, by exchange. - Cap the count.
cm=limits how many orders one line cancels, andcmo=picks which ones go first. See cancel the oldest or newest orders. - Split accounts. When two strategies trade the same symbol, a separate account per strategy is the only clean split.
aid=picks the account on brokers that hold several under one login.
Test it once before you rely on it
Add d=1 to your cancel line. Autoview lists each order it would cancel in your log and cancels nothing. If the list holds orders with other ids, your exchange is on the ignore list. The log guide shows where to look. To close a position rather than cancel resting orders, see close or reverse by exchange.