RequestWidgetHedgingTradeSessionSummary
Get general statistics of trading during a trading session (widget)
Request format
{
"Nodes": [],
"Accounts": [
],
"Symbols": [
"GBPUSD",
"USDJPY"
],
"RequestId": "01a3a577-4edd-443e-acdd-95dc42b537fe",
"RequestName": "RequestWidgetHedgingTradeSessionSummary"
}
Request parameters:
| Name | Description |
|---|---|
| RequestId | Unique request GUID |
| Accounts | Filter by hedge accounts (all available accounts if nothing is specified) |
| Symbols | Filter by symbols (by all available symbols, if nothing is specified) |
| Nodes | List of nodes that participate in the request. If the list is empty, then all available nodes are called. |
| RequestName | Request type |
Response ResponseWidgetHedgingTradeSessionSummary
{
"Result": {
"Summary" : {
"ActiveAccounts": 2,
"ChangeOfUnrealizedInUsd": 11482.26,
"Lots": -82,
"LotsBuy": 9,
"LotsSell": -91,
"Orders": 49,
"OrdersBuy": 3,
"OrdersSell": 46,
"RealizedProfitInUsd": 4718.21,
"SessionActivatedOrders": 49,
"SessionProfitInUsd": 16200.47,
"SessionRealizedOrders": 15,
"StartSessionProfitInUsd": -102771.99,
"UnrealizedProfitInUsd": -91289.73
},
"NetBySymbols": [
{
"ChangeOfUnrealizedInUsd": -438.61,
"Lots": -3,
"LotsBuy": 0,
"LotsSell": -3,
"Orders": 2,
"OrdersBuy": 0,
"OrdersSell": 2,
"RealizedProfitInUsd": 0,
"SessionActivatedOrders": 2,
"SessionProfitInUsd": -438.61,
"SessionRealizedOrders": 0,
"StartSessionProfitInUsd": 1183.82,
"Symbol": "USDJPY",
"UnrealizedProfitInUsd": 745.21
},
{
"ChangeOfUnrealizedInUsd": 417.61,
"Lots": 0,
"LotsBuy": 0,
"LotsSell": 0,
"Orders": 0,
"OrdersBuy": 0,
"OrdersSell": 0,
"RealizedProfitInUsd": -627.72,
"SessionActivatedOrders": 0,
"SessionProfitInUsd": -209.85,
"SessionRealizedOrders": 3,
"StartSessionProfitInUsd": -417.87,
"Symbol": "GBPUSD",
"UnrealizedProfitInUsd": 0
}]
},
"RequestId": "01a3a577-4edd-443e-acdd-95dc42b537fe",
"Errors": [],
"ResponseMaster": "ResponseWidgetHedgingTradeSessionSummary"
}