RequestMonthlyTotalPnL
Broker PnL request for the current month, the current week, and the current trading session (day) taking into account the specified filter. The answer comes in USD
Request format
{
"AccountsGroups": ["demoforex"],
"Countries": ["Russia", "USA"],
"RequestId": "d53e2900-96d2-40d9-b7a0-3b95add5280f",
"Nodes": [
"node1",
"node2"
],
"RequestName": "RequestMonthlyTotalPnL"
}
Request parameters:
| Name | Description |
|---|---|
| RequestId | Unique request GUID |
| AccountsGroups | Account group filter |
| Countries | Country filter |
| Nodes | List of nodes that participate in the request. If the list is empty, then all available nodes are called. |
| RequestName | Request type |
Response ResponseMonthlyTotalPnL
{
"Result": {
"MonthlyPnL": 25412623.62,
"WeeklyPnL": 14664969.70,
"DailyPnL": 339234.64
},
"Errors": [],
"RequestId": "03e09c4c-caab-43f9-9aa9-786d10963e07",
"ResponseMaster": "ResponseMonthlyTotalPnL"
}