Skip to main content

RequestHedgingSymbolsSwaps

Get current symbols swaps for hedge accounts

Request format

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

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 ResponseHedgingSymbolsSwaps

{
"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": "ResponseHedgingSymbolsSwaps"
}