Skip to main content

RequestTradeSessionAgentCommissions

Request for a list of agent accounts for which commission was charged during the current trading session

Request format

{
"RequestId": "c1549b18-3ccb-4500-a928-7ff27e8d1fe9",
"Nodes": [
Node1
],
"Reasons":[],
"AccountsGroups":[],
"Countries":[
"Russia",
"United States of America"
],
"Symbols":["EURUSD"],
"SymbolsGroups":[],
"CollectSuffixes":true,
"RequestName": "RequestTradeSessionAgentCommissions"
}

Request parameters:

NameDescription
RequestIdUnique request GUID
ReasonsTradeReason List
AccountsGroupsList of account groups
CountriesList of countries
SymbolsList of instruments for which volumes are selected
SymbolsGroupsList of symbol groups
CollectSuffixesInclude in the result all symbol contracts and symbols (true) whose Description matches
NodesList of nodes that participate in the request. If the list is empty, then all available nodes are called.
RequestNameRequest type

ResponseTradeSessionAgentCommissions - list of agent accounts with commissions

  {
"Result": [
{
"Login": 476951,
"Name":"Ivan Petrov",
"Group":"user group1",
"Currency": "USD",
"Orders": 55,
"Logins": 5,
"SessionCommissionAgent": 183.22,
"SessionCommissionAgentInUsd": 183.22,
"VolumeInLots": 17.5,
"VolumeInUsd": 154051.10,
"Node":"Second",
"Platform":"Mt4",
},
{
"Login": 475074,
"Name":"Su Van",
"Group":"user group1",
"Currency": "USD",
"Orders": 15,
"Logins": 2,
"SessionCommissionAgent": 53.13,
"SessionCommissionAgentInUsd": 53.13,
"VolumeInLots": 7.5,
"VolumeInUsd": 35051.50,
"Node":"Second",
"Platform":"Mt4",
}
],
"Errors": [],
"RequestId": "bf03d6a3-f157-48b1-af8c-46cc36f69a63",
"ResponseMaster": "ResponseTradeSessionAgentCommissions"
}