RequestHedgingTradeSessionCurrentProfit
Get PnL for the current trading session, taking into account the specified filters
Request format
{
"Accounts": [
],
"Symbols": [
],
"Nodes": [
],
"RequestId": "394cfa30-015d-4a02-971f-03b6c2ce59c7",
"RequestName": "RequestHedgingTradeSessionCurrentProfit"
}
Request parameters:
| Name | Description |
|---|---|
| RequestId | Unique request GUID |
| Nodes | List of nodes that participate in the request. If the list is empty, then all available nodes are called. |
| Accounts | Filter by hedge accounts (all available accounts if nothing is specified) |
| Symbols | Filter by symbols (by all symbols, if nothing is specified) |
| RequestName | Request type |
Response ResponseHedgingTradeSessionCurrentProfit
{
"Result":
{
"Timestamp": "2018-03-22 10:03:00:000",
"SessionProfitInUsd": 12349343.18
},
"Errors": [
],
"RequestId": "94662f0e-6d1f-4c6b-8ee9-36272fb86adc",
"ResponseMaster": "ResponseHedgingTradeSessionCurrentProfit"
}