Skip to main content

Change Order

This command will change the parameters of a pending, unfilled order and requires an order_id value, optional price and quantity value, and an optional strategy_id value.

The order_id value must match the order_id you assigned to the order on the original PLACE command.

Pass in zero values (or omit) for price and quantity if you do not wish to change these order parameters. Price values must be in US decimal format (1212.25 is correct while 1212,25 is not).

info

The only values that can be changed in the order are qty, limit_price, or stop_price. This is a limitation of how the NT8 change order system works internally.

Advanced Usage

You can only change an order that you gave an order_id to when you placed it. That id is a value you choose yourself on the PLACE command: CrossTrade does not assign referenceable order names (the old ENTRY1, STOP1, TARGET1 style names). The optional strategy_id narrows the change to an order owned by that ATM strategy and must match a strategy_id used in the PLACE command.

Example Payload

key=your-secret-key;
command=change;
qty=1; (optional)
limit_price=XXX; (optional)
stop_price=XXX; (optional)
order_id=your-order-id;
strategy_id=your-strategy-id; (optional)
On Tradovate

CHANGE works with destination=tradovate; and can additionally modify order_type, tif, expire_time, max_show, and trail_offset. order_id accepts either the numeric Tradovate order id or the order_id you set on the original place alert (tracked for 7 days). Partial changes are fine — values you omit are read from the working order. strategy_id is NinjaTrader-only. If the order was copied to follower accounts by the Tradovate copier, the change mirrors to them with follower sizing re-applied.