cancel_on_disconnect
message with cancel_on_disconnect
set to true
immediately after authenticating on any connection you want protected.
Example Request
Sample Code
Example Response
Cancelling with this flag immediately returns an order_response event for each order with statusCANCELLED
.
Enabling cancel-on-disconnect cancels all open orders across all symbols
for the authenticated account. If you only want to cancel specific orders, use
the Cancel Order endpoint
instead.