Skip to main content

RequestWinnersLosersTradeSession

Request for a list of top winners and top losers for the current session, taking into account the specified filter

Request format

{
"MinAmount": 50.0,
"Top":3,
"AccountsGroups": [
"demo-stand-usd",
"demo-real-eur"
],
"Countries": [
"Russia",
"Indonesia"
],
"Nodes": [
Node1
],
"RequestId": "bb0c322b-5b74-4df9-bd83-6530e3aa4c90",
"RequestName": "RequestWinnersLosersTradeSession"
}

Request parameters:

NameDescription
MinAmountMinimum volume
TopIf specified, the response will be limited to the number of Top Winners and Top Losers
AccountsGroupsList of account groups
CountriesList of countries
RequestIdUnique GUID request identifier
NodesList of nodes included in the request. If empty, all available nodes are used.
RequestNameType of request

Response ResponseWinnersLosersTradeSession in the Winners and Losers lists contains the structure DtoAccountInfo

{
"Result": {
"Winners": [
{
"EnableReadOnly": false,
"City": "city",
"RegDate": "0001-01-01 00:00:00:000",
"Balance": 100.0,
"Margin": 100.0,
"MarginLevel": 400.0,
"Leverage": 30,
"Drawdown": 0.0,
"RealizedProfit": -1000.0,
"NetVolumeInUsd": 0.0,
"NetVolumeInLots": 0.0,
"Node": "Node1",
"Platform": "Mt4",
"Login": 2,
"Group": "real",
"Country": "Russia",
"Currency": "USD",
"Equity": 400.0,
"ActualLeverage": 0.0,
"EquityInUsd": 0.0,
"Lots": 0.0,
"UnrealizedProfitInUsd": 0.0,
"TotalProfit": -700.0,
"TotalProfitInUsd": 0.0,
"UnrealizedProfit": 300.0,
"SessionProfit": 100.0,
"SessionProfitInUsd": 100.0,
"IsSuspicious": false,
"SuspiciousComment": ""
},
{
"EnableReadOnly": false,
"City": "city",
"RegDate": "0001-01-01 00:00:00:000",
"Balance": 100.0,
"Margin": 100.0,
"MarginLevel": 400.0,
"Leverage": 30,
"Drawdown": 0.0,
"RealizedProfit": -1000.0,
"NetVolumeInUsd": 0.0,
"NetVolumeInLots": 0.0,
"Node": "Node1",
"Platform": "Mt4",
"Login": 4,
"Group": "real",
"Country": "Russia",
"Currency": "USD",
"Equity": 400.0,
"ActualLeverage": 0.0,
"EquityInUsd": 0.0,
"Lots": 0.0,
"UnrealizedProfitInUsd": 0.0,
"TotalProfit": -700.0,
"TotalProfitInUsd": 0.0,
"UnrealizedProfit": 300.0,
"SessionProfit": 50.0,
"SessionProfitInUsd": 50.0,
"IsSuspicious": false,
"SuspiciousComment": ""
}
],
"Losers": [
{
"EnableReadOnly": false,
"City": "city",
"RegDate": "0001-01-01 00:00:00:000",
"Balance": 100.0,
"Margin": 100.0,
"MarginLevel": 400.0,
"Leverage": 30,
"Drawdown": 0.0,
"RealizedProfit": -1000.0,
"NetVolumeInUsd": 0.0,
"NetVolumeInLots": 0.0,
"Node": "Node2",
"Platform": "Mt4",
"Login": 3,
"Group": "real",
"Country": "Russia",
"Currency": "USD",
"Equity": 400.0,
"ActualLeverage": 0.0,
"EquityInUsd": 0.0,
"Lots": 0.0,
"UnrealizedProfitInUsd": 0.0,
"TotalProfit": -700.0,
"TotalProfitInUsd": 0.0,
"UnrealizedProfit": 300.0,
"SessionProfit": -100.0,
"SessionProfitInUsd": -100.0,
"IsSuspicious": false,
"SuspiciousComment": ""
},
{
"EnableReadOnly": false,
"City": "city",
"RegDate": "0001-01-01 00:00:00:000",
"Balance": 100.0,
"Margin": 100.0,
"MarginLevel": 400.0,
"Leverage": 30,
"Drawdown": 0.0,
"RealizedProfit": -1000.0,
"NetVolumeInUsd": 0.0,
"NetVolumeInLots": 0.0,
"Node": "Node1",
"Platform": "Mt4",
"Login": 3,
"Group": "real",
"Country": "Russia",
"Currency": "USD",
"Equity": 400.0,
"ActualLeverage": 0.0,
"EquityInUsd": 0.0,
"Lots": 0.0,
"UnrealizedProfitInUsd": 0.0,
"TotalProfit": -700.0,
"TotalProfitInUsd": 0.0,
"UnrealizedProfit": 300.0,
"SessionProfit": -100.0,
"SessionProfitInUsd": -100.0,
"IsSuspicious": false,
"SuspiciousComment": ""
}
],
"WinnersSummary": {
"Accounts": 4,
"Lots": 0.0,
"EquitiesInUsd": 0.0,
"UnrealizedProfitInUsd": 0.0,
"TotalProfitInUsd": 0.0,
"TotalSessionProfitInUsd": 300.0
},
"LosersSummary": {
"Accounts": 2,
"Lots": 0.0,
"EquitiesInUsd": 0.0,
"UnrealizedProfitInUsd": 0.0,
"TotalProfitInUsd": 0.0,
"TotalSessionProfitInUsd": -200.0
}
},
"Errors": [

],
"RequestId": "bb0c322b-5b74-4df9-bd83-6530e3aa4c90",
"ResponseMaster": "ResponseWinnersLosersTradeSession"
}

Errors or an empty list or a list of responses of the ResponseNodeError nodes