RequestGeoActiveAccounts
Request for a list of active accounts grouped by countries 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": "RequestGeoActiveAccounts"
}
Request parameters:
| Name | Description |
|---|---|
| RequestId | Unique request GUID |
| Reasons | List of TradeReason |
| AccountsGroups | List of account groups |
| Countries | List of countries |
| Book | The Book type, by which the response to the request is built (NoBook, ABook, BBook possible values) |
| Nodes | List of nodes that participate in the request. If the list is empty, then all available nodes are requested. |
| RequestName | Type of request |
Response ResponseGeoActiveAccounts
{
"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": "ResponseGeoActiveAccounts"
}
Errors or an empty list or a list of responses of the ResponseNodeError nodes