/events/trades
Returns a list of your trade events.
{
"result": "success",
"status": 200,
"meta": {
"count": 197,
"limit": 1000,
"order": "desc",
"last_id": 3236
},
"data": [
{
"id": 1786080051,
"created_at": "2025-04-25T14:17:24Z",
"updated_at": "2025-04-25T14:17:24Z",
"account_id": 1242495,
"group": "trade",
"event": "position_open",
"event_id": null,
"trade_id": 1212851510,
"ticket": 411142456,
"type": "buy",
"symbol": "USDJPY",
"lots": 1,
"open_time": "2025-04-25T11:59:24Z",
"open_price": 143.62,
"stop_loss": 0,
"take_profit": 0,
"close_time": null,
"close_price": 143.801,
"commission": 0,
"swap": 0,
"profit": 125.87,
"balance": 20123.99,
"credit": 0,
"equity": 20358.76,
"comment": "",
"magic": 0,
"digits": 3,
"tick_value": 0.69540546,
"tick_size": 0.001,
"alt_tick_value": 0.6951585,
"profit_calc_mode": "forex"
},
{
"id": 1786080050,
"created_at": "2025-04-25T14:17:24Z",
"updated_at": "2025-04-25T14:17:24Z",
"account_id": 1242495,
"group": "trade",
"event": "position_open",
"event_id": null,
"trade_id": 1212851509,
"ticket": 411142321,
"type": "buy",
"symbol": "GBPUSD",
"lots": 1,
"open_time": "2025-04-25T11:55:33Z",
"open_price": 1.33009,
"stop_loss": 0,
"take_profit": 0,
"close_time": null,
"close_price": 1.33126,
"commission": 0,
"swap": 0,
"profit": 117,
"balance": 20123.99,
"credit": 0,
"equity": 20358.76,
"comment": "",
"magic": 0,
"digits": 5,
"tick_value": 1,
"tick_size": 1.0e-5,
"alt_tick_value": 1,
"profit_calc_mode": "forex"
},
.....more events.....
]
}
Key | Value | Description |
---|---|---|
id | single integer | Find a trade event |
ids | comma separated list of integers | Find multiple trade events |
trade_id | single integer | Find a trades events |
trade_ids | comma separated list of integers | Find multiple trades events |
account_id | single integer | Find an accounts events |
account_ids | comma separated list of integers | Find multiple accounts events |
created_at_start | datetime (format YYYY-MM-DDTHH:MM:SSZ) | Find events that were created after the datetime |
created_at_end | datetime (format YYYY-MM-DDTHH:MM:SSZ) | Find events that were created before the datetime |
Sign up to our newsletter to keep up-to-date.