Skip to main content

RequestBooksCoverageSessionPnL

Broker A/B-Books 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-3b95add5281f",
"Nodes": [
"node1",
"node2"
],
"RequestName": "RequestBooksCoverageSessionPnL"
}

Request parameters:

NameDescription
RequestIdUnique request GUID
AccountsGroupsList of account groups
CountriesList of countries
NodesList of nodes that participate in the request. If the list is empty, then all available nodes are called.
RequestNameRequest type

Response ResponseBooksCoverageSessionPnL

{
"Result": {
"DailyPnLInUsd": -14892587.92024,
"ABookDailyPnLInUsd": 0.0,
"BBookDailyPnLInUsd": -14892587.92024,
"DailyCommissionsInUsd": -33046.60,
"WeeklyPnLInUsd": -27030162.79036,
"ABookWeeklyPnLInUsd": 0.0,
"BBookWeeklyPnLInUsd": -27030162.79036,
"WeeklyCommissionsInUsd": -2044571.44,
"MonthlyPnLInUsd": -76919820.9057,
"ABookMonthlyPnLInUsd": 0.0,
"BBookMonthlyPnLInUsd": -76919820.9057,
"MonthlyCommissionsInUsd": -11477220.65
},
"RequestId": "d53e2900-96d2-40d9-b7a0-3b95add5281f",
"Errors": [],
"ResponseMaster": "ResponseBooksCoverageSessionPnL"
}