Type/to search
Getting Started
Platform Basics
Writing Strategies
Development Tools
Backtesting System
Advanced Topics
Data and Research
Extended API Interface
AI Integration
Create ApiKey
Authentication Methods
Extended API Interface Details
GetAccount
GetNodeList
DeleteNode
GetExchangeList
GetPlatformList
GetStrategyList
GetRobotGroupList
GetRobotList
GetRobotDetail
GetRobotLogs
NewRobot
RestartRobot
StopRobot
CommandRobot
DeleteRobot
PluginRun
pub
Extended API Interface Return Codes
Live Trading Status Codes

Deletes a docker of the account; an online docker is forced to log out and all robots on it become "strategy error". Deletion cannot be undone.

Examples

Delete the docker with ID 123.

python
# api() is the function in the Python example on the signature authentication page r = api('DeleteNode', 123) print(r) # output: {'code': 0, 'data': {'result': True, 'error': None}}

Returns

TypeDescription

bool

data.result is true when the docker record was deleted: the platform forces the online docker to log out and sets all robots on it to "strategy error" (status code 5). It is false when the docker does not exist, does not belong to the account, or cannot be forced to log out.

Arguments

NameTypeRequiredDescription

nid

number

Yes

ID of the docker to delete; see GetNodeList.