Skip to main content

RequestABookMarketMakersBySymbol

Request for a list of ABook account market makers, taking into account the specified filter

Request format

{
"Symbol":"EURUSD",
"CollectSuffixes": true,
"Top":10,
"Reasons": [
"Robot",
"Client"
],
"AccountsGroups": [
"demo-stand-usd",
"demo-real-eur"
],
"Countries": [
"Russia",
"USA"
],
"RequestId": "c1549b18-3ccb-4500-a928-7ff27e8d1fe9",
"Nodes": [
Node1
],
"RequestName": "RequestABookMarketMakersBySymbol"
}

Request parameters:

NameDescription
RequestIdUnique request GUID
SymbolName of the symbol by which market makers are requested
CollectSuffixestrue - aggregate all suffix symbols into one symbol, including their contracts, otherwise display separate statistics for the character
TopIf the parameter is specified, then the response will be limited to the number of Top buyers (Buyers), and Top sellers (Sellers)
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 ResponseABookMarketMakersBySymbol

{
"Result": {
"Symbol": "EURUSD",
"Digits": 5,
"Buyers": [
{
"Name": "Piotr",
"Timestamp": "2017-02-26 10:17:04:000",
"VolumeInBaseAsset": 18020000.0,
"AveragePrice": 1.06173,
"MarketPrice": 1.05588,
"AveragePriceFromMarketInPoints": -585,
"Node": "FxFair Demo",
"Platform": "Mt4",
"Login": 100073,
"Group": "demo-real-eur",
"Country": "Russia",
"Currency": "EUR",
"Equity": 3978648.25,
"ActualLeverage": 8.86,
"EquityInUsd": 4201532.13,
"Lots": 180.2,
"UnrealizedProfitUsd": -105541.15,
"UnrealizedProfit": -108681.22,
"SymbolSessionProfitInUsd": 124,
"IsSuspicious": true,
"SuspiciousComment": "probably cheater"
},
{
"Name": "Kota Kinabalu",
"Timestamp": "2017-02-26 10:17:04:000",
"VolumeInBaseAsset": 1000.0,
"AveragePrice": 1.06389,
"MarketPrice": 1.05588,
"AveragePriceFromMarketInPoints": -801,
"Node": "FxFair Demo",
"Platform": "Mt4",
"Login": 100293,
"Group": "demo-stand-usd",
"Country": "Malaysia",
"Currency": "USD",
"Equity": 106.31,
"ActualLeverage": 28.83,
"EquityInUsd": 106.31,
"Lots": 0.01,
"UnrealizedProfitUsd": -10.59,
"UnrealizedProfit": -1.25,
"SymbolSessionProfitInUsd": 124,
"IsSuspicious": false,
"SuspiciousComment": ""
}
],
"Sellers": [
{
"Name": "Surabaya",
"Timestamp": "2017-02-26 10:17:04:000",
"VolumeInBaseAsset": -50000.0,
"AveragePrice": 1.05757,
"MarketPrice": 1.05616,
"AveragePriceFromMarketInPoints": 141,
"Node": "FxFair Demo",
"Platform": "Mt4",
"Login": 100246,
"Group": "demo-real-usd",
"Country": "Indonesia",
"Currency": "USD",
"Equity": 679.43,
"ActualLeverage": 151.3,
"EquityInUsd": 679.43,
"Lots": -0.5,
"UnrealizedProfitUsd": 70.0,
"UnrealizedProfit": 68.69,
"SymbolSessionProfitInUsd": 124,
"IsSuspicious": false,
"SuspiciousComment": ""
},
{
"Name": "Batam",
"Timestamp": "2017-02-26 10:17:04:000",
"VolumeInBaseAsset": -5000.0,
"AveragePrice": 1.05949,
"MarketPrice": 1.05616,
"AveragePriceFromMarketInPoints": 333,
"Node": "FxFair Demo",
"Platform": "Mt4",
"Login": 100298,
"Group": "demo-stand-usd",
"Country": "Indonesia",
"Currency": "USD",
"Equity": 116.99,
"ActualLeverage": 87.87,
"EquityInUsd": 116.99,
"Lots": -0.05,
"UnrealizedProfitUsd": 16.15,
"UnrealizedProfit": 16.99,
"SymbolSessionProfitInUsd": 124,
"IsSuspicious": false,
"SuspiciousComment": ""
}
],
"BuyersSummary": {
"VolumeInBaseAsset": 18368000.0,
"AveragePrice": 1.06173,
"MarketPrice": 1.05588,
"AveragePriceFromMarketInPoints": -585,
"Accounts": 10,
"Lots": 183.68,
"EquitiesInUsd": 7905694.05,
"UnrealizedProfitUsd": -107604.32,
"SymbolSessionProfitInUsd": 1240,
},
"SellersSummary": {
"VolumeInBaseAsset": -65000.0,
"AveragePrice": 1.05761,
"MarketPrice": 1.05616,
"AveragePriceFromMarketInPoints": 145,
"Accounts": 3,
"Lots": -0.65,
"EquitiesInUsd": 4753000.57,
"UnrealizedProfitUsd": 92.35,
"SymbolSessionProfitInUsd": -1224,
}
},
"Errors": [
{
"Node": "Node3",
"Platform": "Mt4",
"Result": "Error message",
"ResponseNode": "ResponseNodeError"
}
],
"RequestId": "d3ee24e5-dc68-4704-9a6c-5f145fd4c05c",
"ResponseMaster": "ResponseABookMarketMakersBySymbol"
}

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