Skip to main content

RequestHedgingSymbolsSwapsHistory

Get symbols swaps history for for the specified hedge accounts and symbols

Request format

{
"Nodes": [],
"From": "2022-01-06",
"To": "2022-01-14",
"Accounts": [
],
"Symbols": [
"GBPUSD",
"USDJPY"
],
"PageSize": 100,
"PageNum": 1,
"RequestId": "01a3a577-4edd-443e-acdd-95dc42b537fe",
"RequestName": "RequestHedgingSymbolsSwapsHistory"
}

Request parameters:

NameDescription
RequestIdUnique request GUID
AccountsList of nodes that participate in the request. If the list is empty, then all available nodes are called.
SymbolsFilter by hedge accounts (all available accounts if nothing is specified)
PageSizeNumber of entries per page
PageNumPage number (first page: 1)
NodesFilter by symbols (by all symbols, if nothing is specified)
RequestNameRequest type

Response ResponseHedgingSymbolsSwapsHistory

{
"Result": {
"Page": [{
"Login": "1087511",
"Symbol": "A.US",
"Timestamp": "2022-07-26 23:06:21:658",
"SwapLong": -2.5,
"SwapShort": -2.5,
"SwapLongOld": -2.5,
"SwapShortOld": -2.5,
"PercentLong": 0.0,
"PercentShort": 0.0
}, {
"Login": "1087511",
"Symbol": "AA.US",
"Timestamp": "2022-07-26 23:06:21:658",
"SwapLong": -2.5,
"SwapShort": -2.5,
"SwapLongOld": -2.5,
"SwapShortOld": -2.5,
"PercentLong": 0.0,
"PercentShort": 0.0
}],
"PageSize": 50,
"PageNum": 1,
"TotalRecords": 427
},
"RequestId": "01a3a577-4edd-443e-acdd-95dc42b537fe",
"Errors": [],
"ResponseMaster": "ResponseHedgingSymbolsSwapsHistory"
}