The resource loading... loading...

DeleteRobot

The DeleteRobot(RobotId, DeleteLogs) method is used to delete the live trading corresponding to the API KEY in the request under the FMZ Quant Trading Platform account. The deleted live trading Id is the live trading Id specified by the robotId parameter.

{
    "code":0,
    "data":{
        "result":0,
        "error":null
    }
}
  • result: The result of the live trading deletion operation feedback. 0: Delete normally. -2: The deletion was successful, but the docker associated with the live trading could not be contacted. Please delete the file 123.db3 manually!

The parameter robotId is used to specify the Id of the live trading to be deleted. You can use the GetRobotList method to get the information of the live trading under the account, which contains the live trading Id.

robotId true number The deleteLogs parameter is used to set whether to delete the live trading log, if passed a true value (e.g.: true), the live trading log is deleted.

deleteLogs true bool

DeleteNode GetStrategyList