/commands
{
"account_id": 12345,
"command": "modify_pending_price",
"by": "magic",
"trade_id": 12345,
"modify_price": 1.01
}
{
"result": "success",
"status": 200,
"data": {
"id": 1970,
"created_at": "2021-03-22T13:16:36.000000Z",
"updated_at": "2021-03-22T13:16:36.000000Z",
"account_id": 12345,
"group": "user",
"event": null,
"event_id": null,
"copier_id": null,
"lead_id": null,
"command": "modify_pending_price",
"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 |
modify_price | yes | double | The modify price for the chosen command |
Value | Description |
---|---|
modify_stop_loss | Modify stop loss |
modify_take_profit | Modify take profit |
modify_pending_price | Modify pending order price |
Sign up to our newsletter to keep up-to-date.