Skip to main content

RequestNetHistory

Request for history (hourly) cumulative no volumes in dealing with the specified filter

Request format

{
"Reasons": [
"Robot",
"Client"
],
"AccountsGroups": [
"real",
"demo"
],
"Countries": [
"Russia",
"USA"
],
"RequestId": "c1549b18-3ccb-4500-a928-7ff27e8d1fe9",
"Nodes": [
Node1
],
"RequestName": "RequestNetHistory"
}

Параметры запроса:

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 ResponseNetHistory

{
"Result": [
{
"Timestamp": "2018-10-18 00:00:00:000",
"Orders": 13242,
"ActiveAccounts": 3861,
"TotalNetInUsd": 3578567876.82
},
{
"Timestamp": "2018-10-18 01:00:00:000",
"Orders": 14076,
"ActiveAccounts": 4279,
"TotalNetInUsd": 3536556864.32
},
{
"Timestamp": "2018-10-18 02:00:00:000",
"Orders": 14277,
"ActiveAccounts": 4339,
"TotalNetInUsd": 3539640962.24
}
],
"RequestId": "fc872dff-1d11-4069-b119-873ad52ea756",
"Errors": [],
"ResponseMaster": "ResponseNetHistory"
}

Errors either an empty list or a list of node responses ResponseNodeError