Live Trading Code
The GetRobotList
interface, the GetRobotDetail
interface, and the GetRobotLogs
interface return data in the status
field for: the live trading status code.
- Normal start
| Status | Code |
| - | - |
| Idle | 0 |
| In operation | 1 |
| Stopping | 2 |
| Signed out | 3 |
| Stopped | 4 |
| The strategy has errors | 5 |
- Abnormal
| Status | Code |
| - | - |
| The strategy has expired, and please contact the writer to buy it again | -1 |
| No docker found | -2 |
| Strategy compilation error | -3 |
| The live trading is already running | -4 |
| Insufficient balance |-5|
| The number of concurrent strategies exceeds the limit | -6 |
Extended API Interface Return Code
Ways of Verification