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.
// Return value after successful deletion
{
"code": 0,
"data": {
"result": 0,
"error": null
}
}
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