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:
| Name | Description |
|---|---|
| RequestId | Unique GUID request ID |
| Search | Search field |
| SymbolsGroups | Filter for groups of symbols. If the list is empty, then all available ones are returned. |
| PageSize | Page size |
| PageNum | Page Number |
| Nodes | List of nodes that participate in request. If the list is empty, all available nodes are requested. |
| RequestName | Type 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"
}