RequestTradeSessionAccountCurrentProfit
Request for the current PnL of the current trading session for the specified account, taking into account the specified filter
Request format
{
"Login": 100001,
"Reasons": [
"Robot",
"Client"
],
"Nodes": [
"NodeName"
],
"RequestId": "63124584-92e7-4e7f-8562-667d7236344e",
"RequestName": "RequestTradeSessionAccountCurrentProfit"
}
Request parameters:
| Name | Description |
|---|---|
| RequestId | Unique GUID request identifier |
| Nodes | One node is required. |
| Reasons | Filter by trade reasons |
| Login | Account login |
| RequestName | Type of request |
Response ResponseTradeSessionAccountCurrentProfit
{
"Result": [
{
"Node": "Node1",
"Platform": "Mt4",
"Result": {
"Timestamp": "2018-05-18 19:52:20:000",
"SessionProfitInUsd": 0.0
},
"ResponseNode": "ResponseNodeTradeSessionAccountCurrentProfit"
}
],
"RequestId": "0191b750-cbdd-4d57-8b62-a693c7516fe7",
"ResponseMaster": "ResponseTradeSessionAccountCurrentProfit"
}