Getting Started
Platform Basics
Writing Strategies
Development Tools
Backtesting System
Advanced Topics
Data and Research
Integrations
NewRobot
The NewRobot method creates a live trading bot under the platform account of the API KEY in the request and starts it; like creating a bot on the website, this charges fees.
Returns
json
{
"code":0,
"data":{
"result":591988,
"error":null
}
}
- result: The ID of the new bot on success; a negative number on failure, with the meaning of the abnormal codes in Live Trading Status Codes (e.g.
-2no docker found,-5insufficient balance).
Arguments
| Name | Type | Required | Description |
settings | JSON object | Yes | Live trading configuration; for its fields see "Live trading configuration (settings)" in Extended API Interface Details. For example:
|
Remarks
When the exchange configuration is passed directly with eid, the platform does not store the keys in meta, so every later RestartRobot of this bot must pass settings again.