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 either the order ID value given to an order placed through the PLACE command. The only values

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).

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

An order name such as ENTRY*, EXIT*, STOP*, SIMSTOP* or TARGET* can optionally be set as the order_id value. The star (*) represents an integer value, e.g., TARGET1 or TARGET2. Order names are only valid if a strategy_id value is passed.

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)

Last updated