Session Management
Private
Disable Cancel On Disconnect for the connection.
When change is applied for the account, then every newly opened connection will start with inactive Cancel on Disconnect.
Scope & transport:
- scope=connection (the default) applies to the current WebSocket connection only and is available over WebSocket only. Over REST/HTTP it fails with 10030 (must_be_websocket_request), so HTTP clients must pass scope=account.
- scope=account changes the account setting, works over both WebSocket and REST/HTTP, and requires the account:read_write scope. Connection scope only requires an authenticated connection.
Scope: account:read_write (only for scope=account)
get/private/disable_cancel_on_disconnect
Request
- Base URLhttps://test.deribit.com/api/v2
- URLhttps://test.deribit.com/api/v2/private/disable_cancel_on_disconnect
- Authnone declared
Query parameters
scope'connection' | 'account'
Specifies if Cancel On Disconnect change should be applied/checked for the current connection or the account (default - connection)<br/><br/> NOTICE: Scope connection can be used only when working via Websocket.
Response
Success response
Changes
- breaking
for the
queryrequest parameterscope, default valueconnectionwas added
- breaking