RequestTradingSymbols
Request for information on trading symbols with division by nodes
Request format
{
"RequestId": "8338874f-25df-4aee-a6fb-808c700f2cb7",
"Search" : "eurusd",
"SymbolsGroups": [
"forex"
],
"TradeMode": "Disabled",
"SortDirection": "Ascending",
"SortFields": ["Symbol", "Group"],
"PageSize": 100,
"PageNum": 1,
"Nodes": [
"node1",
"node2"
],
"RequestName": "RequestTradingSymbols"
}
Request parameters:
| Name | Description |
|---|---|
| RequestId | Unique GUID request ID |
| Search | Search field |
| Nodes | List of nodes that participate in request. If the list is empty, all available nodes are requested. |
| RequestName | Type of request |
| SortDirection | Specifies the sort direction for the fields specified in "SortFields" (enum ListSortDirection: Descending) |
| SortFields | Specifies the fields to sort in the direction specified in "SortDirection" (enum SortableFields Source) |
| PageSize | Page size |
| PageNum | Page number |
| SymbolsGroups | Filter for groups of symbols. If the list is empty, then all available ones are returned. |
| TradeMode | TradeMode enumeration of the trade mode. If the field is empty, then all are returned. |
Response ResponseNodesInfo
{
"Result": {
"Page": [{
"Node": "MT5dev",
"Platform": "Mt5",
"Symbol": "A.US",
"Description": "Agilent Technologies Inc CFD",
"Group": "Stocks.US CFD",
"GroupDescription": "",
"Trade": "TradeEnabled",
"ExeMode": "Market",
"ProfitMode": "CFD",
"MarginCurrency": "USD",
"Contracts": []
}, {
"Node": "MT5dev",
"Platform": "Mt5",
"Symbol": "AA.US",
"Description": "Alcoa Inc CFD",
"Group": "Stocks.US CFD",
"GroupDescription": "",
"Trade": "TradeEnabled",
"ExeMode": "Market",
"ProfitMode": "CFD",
"MarginCurrency": "USD",
"Contracts": []
}],
"PageSize": 2,
"PageNum": 1,
"TotalRecords": 1290
},
"RequestId": "8338874f-25df-4aee-a6fb-808c700f2cb7",
"Errors": [],
"ResponseMaster": "ResponseTradingSymbols"
}
TradeMode enumeration
enum TradeMode
{
// Trading is prohibited.
Disabled,
// Only closing is allowed.
CloseOnly,
// Full access to trading.
Enabled
}