Change Order

This command will change the parameters of an order and requires an order ID value, optional price and quantity values 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 or, an order name such as ENTRY*, EXIT*, STOP*, SIMSTOP* or TARGET*. The star (*) represents an integer value such as TARGET1 or TARGET2. Order names are only valid if a valid strategy ID value is passed.

Pass in zero (0) values 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).

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