Skip to main content

RequestAccountsTopByCategory

Request for a list of accounts with top indicators for the specified category, taking into account the specified filter

Request format

{
"Top":3,
"Book" : "NoBook",
"Category":"ByEquity",
"AccountsGroups": [
"demo-stand-usd",
"demo-real-eur"
],
"Countries": [
"Russia",
"Indonesia"
],
"RequestId": "c1549b18-3ccb-4500-a928-7ff27e8d1fe9",
"Nodes": [
Node1
],
"RequestName": "RequestAccountsTopByCategory"
}

Request parameters:

NameDescription
RequestIdUnique request GUID
TopIf the parameter is specified, then the answer will be limited to the number of Top accounts, by default 50
BookThe Book type, by which the response to the request is built (NoBook, ABook, BBook are possible values). Default NoBook
CategoryThe category by which to filter accounts, by default ByEquity (Filtering by equity in USD). Available categories: ByEquity, ByMarginLevel
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

ResponseAccountsTopByCategory - Account Lists contains DtoAccountInfo structure

  {
"Result": [
{
"Name": "Vladimir",
"EnableReadOnly": false,
"City": "Kiev",
"RegDate": "2017-08-10 12:54:41:000",
"Email": "ddd@gmail.com",
"Phone": "+2322222",
"NeedLeverage": 0,
"Balance": 624973238.77,
"Margin": 651734488.66,
"MarginLevel": 54.41,
"Leverage": 500,
"Drawdown": -43.2604,
"RealizedProfit": -375026761.23,
"NettoVolumeInUsd": 29509800599.43,
"NettoVolumeInLots": 154000.0,
"Node": "Second",
"Platform": "Mt4",
"Login": 476951,
"Group": "demoforex",
"Country": "Ukraine",
"Currency": "USD",
"Equity": 354607268.77,
"ActualLeverage": 83.22,
"EquityInUsd": 354607268.77,
"Lots": 154000.0,
"UnrealizedProfitInUsd": -270365970.0,
"TotalProfit": -645392731.23,
"TotalProfitInUsd": -645392731.23,
"UnrealizedProfit": -270365970.0,
"SessionProfit": 18278510.0,
"SessionProfitInUsd": 18278510.0,
"SessionClosedVolumeInLots": 1.13,
"SessionClosedVolumeInUsd": 155028.16,
"SessionOpenedVolumeInLots": 0.55,
"SessionOpenedVolumeInUsd": 65113.166,
"SessionTotalVolumeInLots": 1.68
"SessionTotalVolumeInUsd": 220141.326,
"IsSuspicious": false,
"SuspiciousComment": ""
},
{
"Name": "trader",
"EnableReadOnly": false,
"City": "",
"RegDate": "2017-07-31 19:57:59:000",
"Email": "arrr@gmail.com",
"Phone": "0532222",
"NeedLeverage": 0,
"Balance": 30652673.3,
"Margin": 5736387.23,
"MarginLevel": 291.44,
"Leverage": 500,
"Drawdown": -45.4597,
"RealizedProfit": 25652673.3,
"NettoVolumeInUsd": 799630943.43,
"NettoVolumeInLots": 3400.0,
"Node": "Second",
"Platform": "Mt4",
"Login": 475074,
"Group": "demoforex",
"Country": "Norway",
"Currency": "USD",
"Equity": 16718048.71,
"ActualLeverage": 47.83,
"EquityInUsd": 16718048.71,
"Lots": 3400.0,
"UnrealizedProfitInUsd": -13934624.59,
"TotalProfit": 11718048.71,
"TotalProfitInUsd": 11718048.71,
"UnrealizedProfit": -13934624.59,
"SessionProfit": -5319.76,
"SessionProfitInUsd": -5319.76,
"SessionClosedVolumeInLots": 1.13,
"SessionClosedVolumeInUsd": 155028.16,
"SessionOpenedVolumeInLots": 0.55,
"SessionOpenedVolumeInUsd": 65113.166,
"SessionTotalVolumeInLots": 1.68
"SessionTotalVolumeInUsd": 220141.326,

"IsSuspicious": false,
"SuspiciousComment": ""
},
{
"Name": "trader",
"EnableReadOnly": false,
"City": "",
"RegDate": "2017-05-18 00:50:30:000",
"Email": "mail@yandex.ru",
"Phone": "+3344444",
"NeedLeverage": 0,
"Balance": 2050470.74,
"Margin": 554000.0,
"MarginLevel": 225.01,
"Leverage": 500,
"Drawdown": -39.2051,
"RealizedProfit": 2047470.74,
"NettoVolumeInUsd": 553349797.9,
"NettoVolumeInLots": 2770.0,
"Node": "Second",
"Platform": "Mt4",
"Login": 459034,
"Group": "demoforex",
"Country": "Russia",
"Currency": "USD",
"Equity": 1246581.83,
"ActualLeverage": 443.89,
"EquityInUsd": 1246581.83,
"Lots": 2770.0,
"UnrealizedProfitInUsd": -803888.91,
"TotalProfit": 1243581.83,
"TotalProfitInUsd": 1243581.83,
"UnrealizedProfit": -803888.91,
"SessionProfit": -1252107.99,
"SessionProfitInUsd": -1252107.99,
"SessionClosedVolumeInLots": 1.13,
"SessionClosedVolumeInUsd": 155028.16,
"SessionOpenedVolumeInLots": 0.55,
"SessionOpenedVolumeInUsd": 65113.166,
"SessionTotalVolumeInLots": 1.68
"SessionTotalVolumeInUsd": 220141.326,
"IsSuspicious": false,
"SuspiciousComment": ""
}
],
"Errors": [],
"RequestId": "bf03d6a3-f157-48b1-af8c-46cc36f69a63",
"ResponseMaster": "ResponseAccountsTopByCategory"
}

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