Skip to main content

RequestAccountOpenedOrders

Request for open orders on the account

Request format

{
"Login": 100069,
"RequestId": "c5bc135c-a4eb-45a9-9f98-822c1ba0830b",
"Nodes": [
"node1"
],
"RequestName": "RequestAccountOpenedOrders"
}

Request parameters:

NameDescription
RequestIdUnique request GUID
NodesOne node is indicated on which the account is registered
LoginLogin for which open orders are needed
RequestNameRequest type

ResponseAccountOpenedOrders

{
"Result": [
{
"Node": "Node1",
"Platform": "Mt4",
"Result": [
{
"Node": "Node2",
"Platform": "Mt4",
"Order":3552569,
"Login":100069,
"Currency":"USD",
"Group":"demo-stand-usd",
"Country":"Russia",
"Symbol":"GBPJPY",
"Digits":3,
"Cmd":"Buy",
"Volume":0.1,
"OpenTime":"2017-01-16 17:54:57:000",
"OpenPrice":137.539,
"Reason":"Robot",
"State":"OpenNormal",
"Commission":-0.35,
"CommissionAgent":0.0,
"Swaps":0.0,
"ClosePrice":137.414,
"Profit":-10.95,
"ProfitWithTaxesUsd":-10.95,
"Taxes":0.0,
"Comment":"",
"Timestamp":"2017-01-16 18:03:00:000"
},
{
"Node": "Node2",
"Platform": "Mt4",
"Order":3552644,
"Login":100069,
"Currency":"USD",
"Symbol":"USDSGD",
"Group":"demo-stand-usd",
"Country":"Russia",
"Digits":5,
"Cmd":"Buy",
"Volume":0.1,
"OpenTime":"2017-01-16 17:59:56:000",
"OpenPrice":1.42955,
"Reason":"Robot",
"State":"OpenNormal"
"Commission":-0.28,
"CommissionAgent":0.0,
"Swaps":0.0,
"ClosePrice":1.42947,
"Profit":-0.56,
"ProfitWithTaxesUsd":-0.56,
"Taxes":0.0,
"Comment":"",
"Timestamp":"2017-01-16 18:02:58:000"
},
],
"ResponseNode": "ResponseNodeAccountOpenedOrders"
}
],
"RequestId": "19f90fe9-aac7-4086-bdb6-e666d1d1346d",
"ResponseMaster": "ResponseAccountOpenedOrders"
}
The ProfitWithTaxesUsd field contains the profit in USD AT THE RATE AT THE TIME OF REQUEST, including swaps and commissions