RequestSymbolNetHistory
History query (hourly) no positions on the specified symbol, taking into account the specified filter
Request format
{
"CollectSuffixes": true,
"DealerSide": true,
"Symbol": "EURUSD",
"Reasons": [
"Robot",
"Client"
],
"AccountsGroups": [
"real",
"demo"
],
"Countries": [
"Russia",
"USA"
],
"RequestId": "c1549b18-3ccb-4500-a928-7ff27e8d1fe9",
"Nodes": [
Node1
],
"RequestName": "RequestSymbolNetHistory"
}
Request parameters:
| Name | Description |
|---|---|
| RequestId | Unique request GUID |
| Symbol | The symbol by which the history of net positions is requested |
| CollectSuffixes | true - aggregate all suffix symbols into one symbol, otherwise display separate statistics for them, including their contracts |
| DealerSide | true - display data from the dealer's side (false - from the traders side) |
| Reasons | TradeReason List |
| AccountsGroups | List of account groups |
| Countries | List of countries |
| Nodes | List of nodes that participate in the request. If the list is empty, then all available nodes are called. |
| RequestName | Request type |
Response ResponseSymbolNetHistory
{
"Result": [
{
"Symbol": "EURUSD",
"Timestamp": "2018-02-28 13:00:00:000",
"ProfitMode": "Forex",
"VolumeBuyInBaseAsset": 15144303232.0,
"VolumeSellInBaseAsset": -7059702764.0,
"VolumeInBaseAsset": 8084600468.0,
"VolumeBuyInUsd": 20637961975.88,
"VolumeSellInUsd": -7644566616.8,
"VolumeInUsd": 12993395359.08,
"AverageBuyPrice": 129.284,
"AverageSellPrice": 36.636,
"AveragePrice": 253.358,
"MarketPrice": 0.0,
"AveragePriceFromMarketInPoints": -2533580,
"OrdersBuy": 13189,
"OrdersSell": 11548,
"Orders": 24737,
"LotsBuy": 152236.76,
"LotsSell": -87152.56,
"Lots": 65084.20,
"UnrealizedProfitInUsd": 685846866.17,
"Digits": 5,
"Sentiment": 36.41
},
{
"Symbol": "EURUSD",
"Timestamp": "2018-03-02 08:00:00:000",
"VolumeBuyInBaseAsset": 3079306836.91766,
"VolumeSellInBaseAsset": -8118615585.71536,
"VolumeInBaseAsset": -5039308748.79770,
"VolumeBuyInUsd": 3417935229.00,
"VolumeSellInUsd": -8674640786.13,
"VolumeInUsd": -5256705557.13,
"AverageBuyPrice": 1227.24120,
"AverageSellPrice": 491.33105,
"AveragePrice": 136.64783,
"MarketPrice": 0.0,
"AveragePriceFromMarketInPoints": 1366478.3,
"OrdersBuy": 23882,
"OrdersSell": 16454,
"Orders": 40336,
"LotsBuy": 31601.70,
"LotsSell": -97480.57,
"Lots": -65878.87,
"UnrealizedProfitInUsd": 192195560.22,
"Digits": 5,
"Sentiment": 75.52
}
],
"Errors": [],
"RequestId": "16cd437f-5169-4000-ad8e-abc4a62356d5",
"ResponseMaster": "ResponseSymbolNetHistory"
}
Errors either an empty list or a list of node responses ResponseNodeError