Enable Cancel On Disconnect

Enable Cancel On Disconnect feature via WebSocket.

Request Path And Method

wss path:

/ws/private

method:

private/enable_cod

Parameters

Parameter Type Required Description
scope string false Specifies if Cancel On Disconnect change should be applied/checked for the current connection or the account (default - connection). Valid values: connection, account. Scope connection can be used only when working via Websocket

Request Example

{
  "rid": 1,
  "params": {
    "scope": "connection"
  },
  "method": "private/enable_cod"
}

Response Message

Name Type Description
success boolean Indicates if the request was successful
rid string Request ID
result string Result status

Response Example

{
  "success": true,
  "rid": 1,
  "result": "ok"
}

results matching ""

    No results matching ""