Skip to main content

RequestHedgingTradeSessionProfitHistory

Get the PnL history for the current trading session, taking into account the specified filters

Request format

{
"Accounts": [
"1234abs",
"345demo"
],
"Symbols": [
],
"Nodes": [
"DemoHedge1"
],
"RequestId": "394cfa30-015d-4a02-971f-03b6c2ce59c7",
"RequestName": "RequestHedgingTradeSessionProfitHistory"
}

Request parameters:

NameDescription
RequestIdUnique request GUID
NodesList of nodes that participate in the request. If the list is empty, then all available nodes are called.
AccountsFilter by hedge accounts (all available accounts if nothing is specified)
SymbolsFilter by symbols (by all symbols, if nothing is specified)
RequestNameRequest type

Response RequestHedgingTradeSessionProfitHistory

 {
"Result": [
{
"Timestamp": "2018-03-22 00:05:00:000",
"SessionProfitInUsd": -18420.87
},
{
"Timestamp": "2018-03-22 00:10:00:000",
"SessionProfitInUsd": -45097.9
},
{
"Timestamp": "2018-03-22 00:15:00:000",
"SessionProfitInUsd": -44656.24
},
{
"Timestamp": "2018-03-22 00:20:00:000",
"SessionProfitInUsd": -24490.93
},
{
"Timestamp": "2018-03-22 00:25:00:000",
"SessionProfitInUsd": -38848.88
},
{
"Timestamp": "2018-03-22 00:30:00:000",
"SessionProfitInUsd": -70507.24
},
{
"Timestamp": "2018-03-22 00:35:00:000",
"SessionProfitInUsd": -84311.15
},
{
"Timestamp": "2018-03-22 00:40:00:000",
"SessionProfitInUsd": -71852.18
},
{
"Timestamp": "2018-03-22 00:45:00:000",
"SessionProfitInUsd": -46368.54
},
{
"Timestamp": "2018-03-22 00:50:00:000",
"SessionProfitInUsd": -83818.04
},
{
"Timestamp": "2018-03-22 00:55:00:000",
"SessionProfitInUsd": -69963.04
},
{
"Timestamp": "2018-03-22 01:00:00:000",
"SessionProfitInUsd": -170297.64
},
{
"Timestamp": "2018-03-22 01:05:00:000",
"SessionProfitInUsd": -192251.88
},
{
"Timestamp": "2018-03-22 01:10:00:000",
"SessionProfitInUsd": -183265.01
},
{
"Timestamp": "2018-03-22 02:10:00:000",
"SessionProfitInUsd": -18014.31
},
{
"Timestamp": "2018-03-22 02:15:00:000",
"SessionProfitInUsd": -3263.97
},
{
"Timestamp": "2018-03-22 02:20:00:000",
"SessionProfitInUsd": -2928.76
},
{
"Timestamp": "2018-03-22 02:25:00:000",
"SessionProfitInUsd": -94060.26
},

],
"Errors": [

],
"RequestId": "a3f66ced-727e-44de-bcfd-3a95bbe02826",
"ResponseMaster": "ResponseHedgingTradeSessionProfitHistory"
}