Disable Cancel On Disconnect

Disable Cancel On Disconnect feature via WebSocket.

Request Path And Method

wss path:

/ws/private

method:

private/disable_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": 2,
  "params": {
    "scope": "connection"
  },
  "method": "private/disable_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": 2,
  "result": "ok"
}

results matching ""

    No results matching ""