Limit Order Timeouts
A time limit can be set on any limit order enter with the PLACE
or FLATPLACE
commands. If the order has not been filled within the time limit, it will be canceled by CrossTrade.
By setting the cancel_after
flag in a limit order alert, a timeout value will be imposed on the order. Valid time values are between 1 and 60 minutes, e.g., cancel_after=15;
will attempt to cancel the order after 15 minutes.
Timeouts are not exact; there may be a few seconds of delay after the timeout period before the order is canceled.
The Automated Trading Interface (ATI) must be enabled for this feature to work correctly.
Example Payloads
PLACE command with cancel_after
timeout enabled.
key=your-secret-key; account=Sim101; instrument=ES 03-25; command=PLACE; order_type=LIMIT; limit_price=-10 ticks; action=BUY; qty=1; tif=DAY; cancel_after=5;
Last updated