Request
/command
Response
{
"result": "success",
"status": 200,
"code": "SUCCESS",
"message": "Success",
"data": {
"commands": [
{
"id": 37298690,
"created_at": "2020-04-08 15:16:36",
"updated_at": "2020-04-08 15:16:36",
"reason": "copier",
"trade_event_id": 5,
"account_event_id": null,
"copier_id": 46694,
"lead_id": 43811,
"follower_id": 43810,
"command": "open",
"status": "complete",
"priority": 1,
"result": "symbol_not_found",
"mt_error": null,
"lead_symbol": "XAUUSD",
"mapped_symbol": "",
"open_price": 1648.16,
"lots": 0.05,
"type": "sell",
"risk_type": "risk_multiplier_by_balance",
"risk_value": 1,
"force_min": "no",
"max_lot": "50.00",
"slippage": "5.0",
"sl_type": "none",
"sl_value": null,
"tp_type": "none",
"tp_value": null,
"comment": "277596763 ",
"magic": 277596763
},
..... more commands .....
],
"meta": {
"count": 1,
"limit": 1000,
"order": "desc",
"last_id": 123
}
}
}
Filters
Key |
Value |
Description |
group |
string(account, copier, trade or user) |
Find events by group |
command_id |
single integer |
Find a specific command |
command_ids |
comma separated list of integers |
Find multiple commands |
copier_id |
single integer |
Find commands by specific copier |
copier_ids |
comma separated list of integers |
Find commands by multiple copiers |
lead_id |
single integer |
Find commands by specific lead account |
lead_ids |
comma separated list of integers |
Find commands by multiple lead accounts |
account_id |
single integer |
Find commands by specific account |
account_ids |
comma separated list of integers |
Find commands by multiple accounts |
created_at_start |
datetime (format YYYY-MM-DDTHH:MM:SSZ) |
Find commands that were created after the datetime |
created_at_end |
datetime (format YYYY-MM-DDTHH:MM:SSZ) |
Find commands that were created before the datetime |