Skip to main content

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:

NameDescription
RequestIdUnique request GUID
AccountsGroupsAccount group filter
CountriesCountry filter
NodesList of nodes that participate in the request. If the list is empty, then all available nodes are called.
RequestNameRequest type

Response ResponseMonthlyTotalPnL

 {
"Result": {
"MonthlyPnL": 25412623.62,
"WeeklyPnL": 14664969.70,
"DailyPnL": 339234.64
},
"Errors": [],
"RequestId": "03e09c4c-caab-43f9-9aa9-786d10963e07",
"ResponseMaster": "ResponseMonthlyTotalPnL"
}