GET Get Closed Trade Summary¶
Endpoint¶
GET /stats/close/summary
Description¶
Returns aggregated closed-trade statistics grouped by symbol for the authenticated client login within the requested time range.
The response is shaped for dashboard summary tables and includes aggregate totals.
Request Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
| from | int | Yes | Start UNIX timestamp |
| to | int | Yes | End UNIX timestamp |
| login | int | Yes | Client account login |
Request Example¶
GET /stats/close/summary?from=1733011200&to=1733097600&login=10001
Authorization: Bearer <JWT_TOKEN>
Response Parameters¶
| Name | Type | Description |
|---|---|---|
| structure | array | Ordered field list used in each row |
| rows | array | Per-symbol summary rows |
| info | object | Aggregate totals for the requested period |
Each row contains:
symbolordersbuylotsselllotsbuypricesellpriceprofit
Response Example¶
{
"structure": ["symbol", "orders", "buylots", "selllots", "buyprice", "sellprice", "profit"],
"rows": [
["EURUSD", 12, 4.5, 3.0, 1.0821, 1.0834, 125.7],
["XAUUSD", 3, 1.0, 1.0, 2315.5, 2321.0, -42.0]
],
"info": {
"total_close_orders": 15,
"total_close_profit": 83.7
}
}