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:
| Name | Description |
|---|---|
| RequestId | Unique request GUID |
| Accounts | List of nodes that participate in the request. If the list is empty, then all available nodes are called. |
| Symbols | Filter by hedge accounts (all available accounts if nothing is specified) |
| PageSize | Number of entries per page |
| PageNum | Page number (first page: 1) |
| Nodes | Filter by symbols (by all symbols, if nothing is specified) |
| RequestName | Request 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"
}