/commands
{
"account_id":60,
"command":"close_full",
"by":"ticket",
"trade_id": 370568641
}
{
"result": "success",
"status": 200,
"data": {
"id": 12345,
"created_at": "2021-03-22T13:14:40.000000Z",
"updated_at": "2021-03-22T13:14:40.000000Z",
"account_id": 12345,
"group": "user",
"event": null,
"event_id": null,
"copier_id": null,
"lead_id": null,
"command": "close_full",
"status": "working",
"..": ".........."
}
}
Field | Required | Accepted | Description |
---|---|---|---|
account_id | yes | integer | Account ID |
command | yes | string | A valid command (see below) |
by | yes | ticket or magic | Target trade by ticket number or magic ID |
trade_id | yes | integer | The ticket number or magic ID |
percentage | no | integer | The percentage to close if close_partial being used |
Value | Description |
---|---|
close_full | Close a trade |
close_partial | Close a trade partially |
Sign up to our newsletter to keep up-to-date.