Skip to main content

RequestAccountBalanceHistory

Query the history of balance transactions on an account

Request format

{
"Login": 10001,
"From": "2016-10-06",
"To": "2017-01-14",
"PageSize": 100,
"PageNum": 1,
"RequestId": "c5bc135c-a4eb-45a9-9f98-822c1ba0830b",
"Nodes": [
"node1"
],
"RequestName": "RequestAccountBalanceHistory"
}

Request parameters:

NameDescription
RequestIdUnique request GUID
NodesOne node is indicated on which the account is registered
LoginLogin by which the history is needed
FromHistory start date and time
ToDate and time of the end of history
RequestNameRequest type
PageSizeNumber of records per page
PageNumPage number (first page - 1)

ResponseAccountBalanceHistory response

{
"Result": [
{
"Node": "Node1",
"Platform": "Mt4",
"Result": {
"Page": [
{
"Node": "Node1",
"Platform": "Mt4",
"Deal": 34309,
"Timestamp": "2024-01-16 00:00:00:000",
"TimeMsc": "2024-01-16 11:19:00:441",
"Login": 100001,
"AccountGroup": "group",
"Action": "BALANCE",
"Profit": 100,
"ProfitInUsd": 100,
"ClientCommissionInUsd": 0,
"BrokerCommissionInUsd": 0,
"Comment": "comment",
"IsReal": true,
"Reason": "Dealer",
"CloseTime": "2020-06-17 00:04:09:000",
"Currency": "USD",
"IsIncludedToSessionPnL": false,
"Country": "IRAN (ISLAMIC REPUBLIC OF)"
}
]
}
}
]
}
{
"Result": [
{
"Page": [
{}
],
"PageSize": 100,
"PageNum": 1,
"TotalRecords": 1,
"ResponseNode": "ResponseNodeAccountBalanceHistory"
}
],
"RequestId": "19f90fe9-aac7-4086-bdb6-e666d1d1346d",
"ResponseMaster": "ResponseAccountBalanceHistory"
}