Skip to main content

RequestABookGeoActiveAccounts

Request for a list of active A-Book accounts grouped by country and taking into account the specified filter

Request format

{
"Reasons": [
"Robot",
"Client"
],
"AccountsGroups": [
"demo-stand-usd",
"demo-real-eur"
],
"RequestId": "c1549b18-3ccb-4500-a928-7ff27e8d1fe9",
"Nodes": [
Node1
],
"RequestName": "RequestABookGeoActiveAccounts"
}

Request parameters:

NameDescription
RequestIdUnique request GUID
ReasonsTradeReason List
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 ResponseABookGeoActiveAccounts

{
"Result": [
{
"Country": "Indonesia",
"NetInLots": 66.9,
"NetInUsd": 7008248.58,
"Accounts": 13,
"UnrealizedProfitUsd": -9488.84
},
{
"Country": "Romania",
"NetInLots": 3.07,
"NetInUsd": 416434.75,
"Accounts": 2,
"UnrealizedProfitUsd": -515.4
},
{
"Country": "Ukraine",
"NetInLots": 112188.72,
"NetInUsd": 9288797659.32,
"Accounts": 18,
"UnrealizedProfitUsd": -2506869.87
},
{
"Country": "Russia",
"NetInLots": 1186.1,
"NetInUsd": 125841161.85,
"Accounts": 5,
"UnrealizedProfitUsd": -35119.37
},
],
"Errors": [
{
"Node": "Node3",
"Platform": "Mt4",
"Result": "Error message",
"ResponseNode": "ResponseNodeError"
}
],
"RequestId": "e7261ec9-5d87-4f6a-a75e-a1fc96e4b1c7",
"ResponseMaster": "ResponseABookGeoActiveAccounts"
}

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