Skip to main content

RequestTradingSymbolsSwaps

Request for information on swaps of traded symbols with division by nodes

Request format

{
"RequestId": "8338874f-25df-4aee-a6fb-808c700f2cb7",
"Search" : "eurusd",
"SymbolsGroups": [
"forex"
],
"PageSize": 100,
"PageNum": 1,
"Nodes": [
"node1",
"node2"
],
"RequestName": "RequestTradingSymbolsSwaps"
}

Request parameters:

NameDescription
RequestIdUnique GUID request ID
SearchSearch field
SymbolsGroupsFilter for groups of symbols. If the list is empty, then all available ones are returned.
PageSizePage size
PageNumPage Number
NodesList of nodes that participate in request. If the list is empty, all available nodes are requested.
RequestNameType of request

Response

 {
"Result": {
"Page": [{
"Symbol": "A.US",
"Node": "MT5dev",
"Platform": "Mt5",
"SymbolGroup": "Stocks.US CFD",
"SwapType": "Points",
"SwapLong": -2.6505,
"SwapShort": -2.3495,
"SwapEnable": true
}, {
"Symbol": "AA.US",
"Node": "MT5dev",
"Platform": "Mt5",
"SymbolGroup": "Stocks.US CFD",
"SwapType": "Points",
"SwapLong": -2.6505,
"SwapShort": -2.3495,
"SwapEnable": true
}],
"PageSize": 2,
"PageNum": 1,
"TotalRecords": 1290
},
"RequestId": "8338874f-25df-4aee-a6fb-808c700f2cb7",
"Errors": [],
"ResponseMaster": "ResponseTradingSymbolsSwaps"
}