BLACK FRIDAY IS BACKNov 24 to 30. Join the list and get in a day early.Join the list

Editing open orders (edit=1), by exchange

Autoview · Guide · Updated November 15, 2026

A c=order line normally cancels the open orders it matches. Add edit=1 and, on the exchanges that support it, Autoview changes those orders in place instead:

c=order id=123 edit=1 fp=64000

On most connections edit= is never read, so the same line cancels the order. This page lists which is which. It comes from the Autoview integrations code at version 0.40.32. We read the code; we did not send these edits live for this guide.

edit= is an on or off switch. edit=1 turns it on and any other value turns it off. It does not pick the order. You pick the order the same way as for a cancel, with id= and the usual filters, and edit=1 decides what happens to it.

Exchanges that edit an open order

Kraken

Autoview sends each matched order to Kraken's edit-order call. What you can change:

  • The price. fp= sets a new price. p= moves it by an offset from the order's current price. Leave both out and the price stays.
  • The size. q= is read against the order's current size, so q=50% halves it. Leave it out and the size stays. With u=currency, the amount is divided by the price.
  • Stop and take-profit prices. px=, sl= and tp= (or fpx=, fsl=, ftp=) set the order's trigger or limit prices.
  • Which orders it picks. On Kraken, sl= and tp= also decide which orders get edited. With sl= in the line, only stop-loss orders (stop-loss and stop-loss-limit) are edited. With tp=, only take-profit orders are. Put both in one line and nothing matches, because no Kraken order type is both, so your log shows "No open orders." fsl= and ftp= play no part in picking the orders.
  • Post-only. t=post adds Kraken's post-only flag to the edited order.

A line with ts= is refused: Kraken edits through Autoview do not cover trailing stops. On Kraken, fp= is the new price, not a filter, so it does not narrow which orders are edited.

Tradovate

Order edits on Tradovate are live, on the servers and in the Chrome extension from version 1.42.8. An older Chrome extension cancels the orders a c=order edit=1 line matches instead of editing them. The Tradovate page has more examples.

Autoview reads each matched order and sends a modify to Tradovate:

  • fp= or p= changes the limit price, on orders that have one. As on Kraken, fp= is the new price, not a filter.
  • px= or sl= changes the stop price, on stop orders that are not trailing. Use one or the other, not both.
  • q= is read against the current size and rounded down to whole contracts. A size that rounds to 0 is not sent.
  • The order type, time in force, expiry and display size stay as they were.

Autoview refuses the whole line if it carries ts=, tp= or u=currency. A take profit on Tradovate is a limit order, so change its price with fp= or p=. After the modify, Autoview reads the order back. If Tradovate accepted the modify but the order did not change, your log shows "Edit not applied".

Exchanges that amend a position's stops on c=position

Two connections use the same switch the other way round, on c=position. Here edit is on by default:

  • Bybit. A c=position line with sl=, tp=, ts= or px= sets those levels on the open position instead of closing it. With ps=position, offsets are measured from your entry price.
  • Capital.com. A c=position line with sl=, tp=, ts= or gsl= amends the open position. Levels you do not name are sent back unchanged. A guaranteed stop needs sl=, cannot be combined with ts=, and is refused in hedging mode; move the stop without gsl= and the new stop is sent without asking for a guarantee.

Add edit=0 to either one to close the position as usual. The partial close guide has the close side.

Every other exchange cancels

On Alpaca, Binance, Binance US, Bitfinex, Bitget, Charles Schwab, Coinbase Advanced, Crypto.com, Deribit, Gate.io, Gemini, HTX, Hyperliquid, Kraken Futures, KuCoin, OANDA, OKX and TradeStation, Autoview does not read edit=. A c=order edit=1 line there is a cancel. Bybit and Capital.com also cancel on c=order edit=1; their edit is the c=position amend above.

To change an order on these exchanges, cancel it and place a new one. The cancel by ID guide shows how to target one order.

Edit one order, not all of them

Without id=, c=order edit=1 matches every open order on the symbol that passes your filters, and cm= defaults to all of them. With fp=64000, every matched order gets the price 64000. Add id=, or cm=1, to edit one.

Test it first

Add d=1 to the line. On Kraken and Tradovate, Autoview then lists which orders it would edit and sends nothing. Then try one small order on a test account and check the price and size the exchange shows.

Open the command reference