RequestHedgingMonthlyTotalPnL
PnL request on broker's hedge accounts for the current month, the current week, and the current trading session (day), taking into account the specified filter. The response is in USD
Request format
{
"Accounts": [
],
"Symbols": [
"GBPUSD",
"USDJPY"
],
"RequestId": "d53e2900-96d2-40d9-b7a0-3b95add5280f",
"Nodes": [
"node1",
"node2"
],
"RequestName": "RequestHedgingMonthlyTotalPnL"
}
Request parameters:
| Name | Description |
|---|---|
| RequestId | Unique request GUID |
| Nodes | List of nodes that participate in the request. If the list is empty, then all available nodes are called. |
| Accounts | Filter by hedge accounts (all available accounts if nothing is specified) |
| Symbols | Filter by symbols (by all symbols, if nothing is specified) |
| RequestName | Request type |
Response ResponseHedgingMonthlyTotalPnL
{
"Result": {
"MonthlyPnL": 25412623.62,
"WeeklyPnL": 14664969.70,
"DailyPnL": 339234.64
},
"Errors": [],
"RequestId": "03e09c4c-caab-43f9-9aa9-786d10963e07",
"ResponseMaster": "ResponseHedgingMonthlyTotalPnL"
}