Skip to main content

Disable Account

Disable a trading account.

Method​

command.trading_account.disable

Description​

Disables a trading account. Disabled accounts cannot submit new orders but remain connected for monitoring purposes.

Parameters​

FieldTypeRequiredDescription
tradingAccountIdstringYesTrading account ID to disable

Result​

Returns the updated trading account object.

Trading Account Object​

FieldTypeDescription
tradingAccountIdstringUnique account identifier
venuestringExchange venue
statusstringUpdated status (DISABLED)
updatedAtintegerLast update timestamp (ms)

Usage​

result = await client.rpc("command.trading_account.disable", {
"tradingAccountId": "550e8400-e29b-41d4-a716-446655440000"
})

Example Response​

{
"tradingAccountId": "550e8400-e29b-41d4-a716-446655440000",
"externalTradingAccountId": "123456789",
"venue": "BINANCE",
"nickname": "Main Binance Account",
"accountType": "SPOT",
"status": "DISABLED",
"updatedAt": 1703152635110
}

Notes​

  • Disabling does not cancel existing open orders
  • Account subscriptions remain active for monitoring
  • Use command.trading_account.enable to restore trading