RequestTradingSymbolsDetails
Request for detailed information on trading symbols with division by nodes
Request format
{
"RequestId": "8338874f-25df-4aee-a6fb-808c700f2cb7",
"SymbolsGroups": [
"forex"
],
"TradeMode": "Disabled",
"Nodes": [
"node1",
"node2"
],
"RequestName": "RequestTradingSymbolsDetails"
}
Request parameters:
| Name | Description |
|---|---|
| RequestId | Unique GUID request ID |
| Nodes | List of nodes that participate in request. If the list is empty, all available nodes are requested. |
| RequestName | Type of request |
| SymbolsGroups | Filter for groups of symbols. If the list is empty, then all available ones are returned. |
| TradeMode | SymbolTradeMode enumeration of the trade mode (specified at the end of the document). If the field is empty, then all are returned. |
Response ResponseNodesInfo
{
"Result": [
{
"Node": "node1",
"Platform": "Mt4",
"Result": [
{
"Node": "Second",
"Platform": "Mt4",
"Type": "Mt4Symbol",
"Symbol": "IBM.US",
"Contracts": [],
"Description": "International Business Machines Corp CFD",
"Source": "",
"Currency": "USD",
"SymbolGroup": "Equities CFD",
"Digits": 2,
"Trade": "TradeEnabled",
"Realtime": true,
"Sessions": [
{
"Quote": [],
"Trade": []
},
{
"Quote": [
{
"OpenHour": 16,
"OpenMin": 30,
"CloseHour": 23,
"CloseMin": 0,
"Open": 990,
"Close": 1380
}
],
"Trade": [
{
"OpenHour": 16,
"OpenMin": 31,
"CloseHour": 23,
"CloseMin": 0,
"Open": 991,
"Close": 1380
}
]
}
],
"ProfitMode": "CFD",
"Filter": 0,
"FilterCounter": 3,
"FilterLimit": 0.0,
"FilterSmoothing": 0,
"Spread": 0,
"SpreadBalance": 0,
"ExeMode": "Market",
"SwapEnable": true,
"SwapType": "Points",
"SwapLong": -4.982,
"SwapShort": -0.018,
"SwapRollover3Days": 3,
"ContractSize": 100.0,
"TickValue": 0.0,
"TickSize": 0.0,
"StopsLevel": 10,
"GtcPendings": "GTC",
"MarginMode": "Cfd",
"MarginInitial": 0.0,
"MarginMaintenance": 0.0,
"MarginHedged": 50.0,
"MarginDivider": 10.0,
"Point": 0.01,
"Multiply": 100.0,
"BidTickValue": 0.0,
"AskTickValue": 0.0,
"LongOnly": false,
"InstantMaxVolume": 0,
"MarginCurrency": "USD",
"FreezeLevel": 0,
"MarginHedgedStrong": false,
"QuotesDelay": 0,
"SwapOpenPrice": false,
"SwapVariationMargin": false
}
],
"ResponseNode": "ResponseNodeTradingSymbolsDetails"
},
{
"Node": "node2",
"Platform": "Mt4",
"Result": [
{
"Node": "node2",
"Platform": "Mt4",
"Type": "Mt4Symbol",
"Symbol": "CZKCASHb",
"Contracts": [],
"Description": "",
"Source": "",
"Currency": "USD",
"SymbolGroup": "CFDs",
"Digits": 1,
"Trade": "TradeEnabled",
"Realtime": true,
"Sessions": [
{
"Quote": [
{
"OpenHour": 10,
"OpenMin": 20,
"CloseHour": 17,
"CloseMin": 0,
"Open": 620,
"Close": 1020
}
],
"Trade": [
{
"OpenHour": 10,
"OpenMin": 20,
"CloseHour": 17,
"CloseMin": 0,
"Open": 620,
"Close": 1020
}
]
}
],
"ProfitMode": "CFD",
"Filter": 0,
"FilterCounter": 3,
"FilterLimit": 0.0,
"FilterSmoothing": 0,
"Spread": 0,
"SpreadBalance": 0,
"ExeMode": "Market",
"SwapEnable": false,
"SwapType": "Points",
"SwapLong": -1.203,
"SwapShort": -0.269,
"SwapRollover3Days": 5,
"ContractSize": 100.0,
"TickValue": 10.0,
"TickSize": 0.1,
"StopsLevel": 3,
"GtcPendings": "GTC",
"MarginMode": "Cfd",
"MarginInitial": 0.0,
"MarginMaintenance": 0.0,
"MarginHedged": 50.0,
"MarginDivider": 100.0,
"Point": 0.1,
"Multiply": 10.0,
"BidTickValue": 0.0,
"AskTickValue": 0.0,
"LongOnly": false,
"InstantMaxVolume": 0,
"MarginCurrency": "USD",
"FreezeLevel": 0,
"MarginHedgedStrong": false,
"QuotesDelay": 0,
"SwapOpenPrice": false,
"SwapVariationMargin": false
}
],
"ResponseNode": "ResponseNodeTradingSymbolsDetails"
}
],
"RequestId": "8338874f-25df-4aee-a6fb-808c700f2cb7",
"ResponseMaster": "ResponseTradingSymbolsDetails"
}
TradeMode enumeration
enum SymbolTradeMode
{
/// <summary>
/// Trading is prohibited.
/// </summary>
TradeDisabled,
/// <summary>
/// Only closing is allowed.
/// </summary>
CloseOnly,
/// <summary>
/// Full access to trading.
/// </summary>
TradeEnabled,
/// <summary>
/// Only shorts are allowed
/// </summary>
ShortOnly,
/// <summary>
/// Only longs are allowed
/// </summary>
LongOnly
}