RequestNetSummary
Request for cumulative positions by instruments, taking into account the specified filter
Request format
{
"CollectSuffixes": true,
"DealerSide": true,
"TopSymbols": 10,
"Reasons": [
"Robot",
"Client"
],
"AccountsGroups": [
"real",
"demo"
],
"Countries": [
"Russia",
"USA"
],
"RequestId": "c1549b18-3ccb-4500-a928-7ff27e8d1fe9",
"Nodes": [
Node1
],
"RequestName": "RequestNetSummary"
}
Request parameters:
| Name | Description |
|---|---|
| RequestId | Unique request GUID |
| 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 | List TradeReason |
| AccountsGroups | List of account groups |
| Countries | List of countries |
| TopSymbols? | Optional parameter specifies how many symbols to receive with maximum net volumes |
| 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 called. |
| RequestName | Request type |
Response ResponseNetSummary
{
"Result": {
"NettoBySymbols": [
{
"Symbol": "USDSGD",
"Timestamp": "2017-02-18 11:26:37:000",
"Digits": 5,
"VolumeBuyInBaseAsset": 1124000.0,
"VolumeSellInBaseAsset": -1104000.0,
"VolumeInBaseAsset": 20000.0,
"AverageBuyPrice": 1.41683,
"AverageSellPrice": 1.41652,
"AveragePrice": 1.41863,
"MarketPrice": 1.41804,
"AveragePriceFromMarketInPoints": -59,
"OrdersBuy": 9,
"OrdersSell": 7,
"Orders": 16,
"LotsBuy": 11.24,
"LotsSell": -11.04,
"Lots": 0.20,
"UnrealizedProfitUsd": -803.31,
"Sentiment": 50.45
},
{
"Symbol": "EURUSD",
"Timestamp": "2017-02-18 11:26:37:000",
"Digits": 5,
"VolumeBuyInBaseAsset": 12392000.0,
"VolumeSellInBaseAsset": -46000.0,
"VolumeInBaseAsset": 12346000.0,
"AverageBuyPrice": 1.06581,
"AverageSellPrice": 1.05669,
"AveragePrice": 1.06585,
"MarketPrice": 1.06153,
"AveragePriceFromMarketInPoints": -432,
"OrdersBuy": 18,
"OrdersSell": 9,
"Orders": 27,
"LotsBuy": 123.92,
"LotsSell": -0.46,
"Lots": 123.46,
"UnrealizedProfitUsd": -53382.81,
"Sentiment": 99.63
},
{
"Symbol": "USDRUB",
"Timestamp": "2017-02-18 11:26:37:000",
"Digits": 5,
"VolumeBuyInBaseAsset": 1000.0,
"VolumeSellInBaseAsset": 0.0,
"VolumeInBaseAsset": 1000.0,
"AverageBuyPrice": 60.98636,
"AverageSellPrice": 0.0,
"AveragePrice": 60.98636,
"MarketPrice": 61.66561,
"AveragePriceFromMarketInPoints": 67925,
"OrdersBuy": 1,
"OrdersSell": 0,
"Orders": 1,
"LotsBuy": 0.01,
"LotsSell": 0.0,
"Lots": 0.01,
"UnrealizedProfitUsd": 11.02,
"Sentiment": 100.0
},
{
"Symbol": "XAUUSD",
"Timestamp": "2017-02-18 11:26:37:000",
"Digits": 3,
"VolumeBuyInBaseAsset": 101.0,
"VolumeSellInBaseAsset": -23.0,
"VolumeInBaseAsset": 78.0,
"AverageBuyPrice": 1241.25,
"AverageSellPrice": 1236.907,
"AveragePrice": 1242.531,
"MarketPrice": 1234.77,
"AveragePriceFromMarketInPoints": -7761,
"OrdersBuy": 2,
"OrdersSell": 3,
"Orders": 5,
"LotsBuy": 1.01,
"LotsSell": -0.23,
"Lots": 0.78,
"UnrealizedProfitUsd": -615.16,
"Sentiment": 81.45
},
{
"Symbol": "USDJPY",
"Timestamp": "2017-02-18 11:26:37:000",
"Digits": 3,
"VolumeBuyInBaseAsset": 1000.0,
"VolumeSellInBaseAsset": -232000.0,
"VolumeInBaseAsset": -231000.0,
"AverageBuyPrice": 113.856,
"AverageSellPrice": 112.831,
"AveragePrice": 112.827,
"MarketPrice": 112.874,
"AveragePriceFromMarketInPoints": -47,
"OrdersBuy": 1,
"OrdersSell": 7,
"Orders": 8,
"LotsBuy": 0.01,
"LotsSell": -2.32,
"Lots": -2.31,
"UnrealizedProfitUsd": -118.75,
"Sentiment": 0.43
},
{
"Symbol": "GBPUSD",
"Timestamp": "2017-02-18 11:26:37:000",
"Digits": 5,
"VolumeBuyInBaseAsset": 110000.0,
"VolumeSellInBaseAsset": -162000.0,
"VolumeInBaseAsset": -52000.0,
"AverageBuyPrice": 1.24921,
"AverageSellPrice": 1.24244,
"AveragePrice": 1.22888,
"MarketPrice": 1.2413,
"AveragePriceFromMarketInPoints": -1242,
"OrdersBuy": 10,
"OrdersSell": 5,
"Orders": 15,
"LotsBuy": 1.1,
"LotsSell": -1.62,
"Lots": -0.52,
"UnrealizedProfitUsd": -767.56,
"Sentiment": 40.44
},
{
"Symbol": "USDCHF",
"Timestamp": "2017-02-18 11:26:37:000",
"Digits": 5,
"VolumeBuyInBaseAsset": 100000.0,
"VolumeSellInBaseAsset": -110000.0,
"VolumeInBaseAsset": -10000.0,
"AverageBuyPrice": 0.99968,
"AverageSellPrice": 0.98748,
"AveragePrice": 0.86549,
"MarketPrice": 1.00275,
"AveragePriceFromMarketInPoints": -13726,
"OrdersBuy": 1,
"OrdersSell": 3,
"Orders": 4,
"LotsBuy": 1.0,
"LotsSell": -1.1,
"Lots": -0.1,
"UnrealizedProfitUsd": -1422.65,
"Sentiment": 47.62
}
],
"Summary": {
"OrdersBuy": 159,
"OrdersSell": 79,
"Orders": 238,
"LotsBuy": 158.18,
"LotsSell": -30.99,
"Lots": 127.19,
"TotalUnrealizedProfitInUsd": -64094.11,
"TotalVolumeOpenedOrdersInUsd": 29519167.55,
"TotalBalancesInUsd": 13816467.49,
"TotalEquityInUsd": 13752373.38,
"TotalActualLeverage": 2.15,
"TotalDrawdown": -0.4639
}
},
"Errors": [
{
"Node": "Node3",
"Platform": "Mt4",
"Result": "Error message",
"ResponseNode": "ResponseNodeError"
}
],
"RequestId": "63cf9541-8a01-4c75-8d1b-97137cace952",
"ResponseMaster": "ResponseNetSummary"
}
Errors either an empty list or a list of node responses ResponseNodeError