Skip to main content

RequestTradeSessionSymbolCurrentProfitForAccount

Get the current PnL position on specified symbol of the current trading session on specified account

Request format

{
"DealerSide": false,
"Symbol": "EURUSD",
"Login": 100,
"Nodes": ["Node1"],
"RequestId": "394cfa30-015d-4a02-971f-03b6c2ce59c7",
"RequestName": "RequestTradeSessionSymbolCurrentProfitForAccount"
}

Request parameters:

NameDescription
RequestIdUnique GUID request identifier
NodesList of nodes included in the request. If empty, all available nodes are used.
DealerSideInvert profit to view from dealer’s perspective
SymbolSpecified symbol
LoginSpecified account
RequestNameType of request

Response ResponseTradeSessionSymbolCurrentProfitForAccount

{
"Result": {
"Timestamp": "2018-04-08 13:30:54:000",
"SessionProfitInUsd": 10.0
},
"Errors": [

],
"RequestId": "9878d550-7d15-4fd5-b250-6f5032d77d67",
"ResponseMaster": "ResponseTradeSessionSymbolCurrentProfitForAccount"
}