RequestTradingSymbol
Request for settings of a symbol and its session, its contracts
Request format
{
"Symbol": "EURUSD",
"Nodes": [
"Node1"
],
"RequestId": "f4081da6-decd-4cc2-9b5f-dc22bb50df6d",
"RequestName": "RequestTradingSymbol"
}
Request parameters:
| Name | Description |
|---|---|
| RequestId | Unique GUID request ID |
| Symbol | Required parameter, name of the requested symbol |
| Nodes | Required parameter, one node is specified on which the symbol detalisation will be requested. |
| RequestName | Type of request |
Response ResponseTradingSymbol from МТ4
{
"Result": [
{
"Node": "Node1",
"Platform": "Mt4",
"Result": {
"Node": "Node1",
"Platform": "Mt4",
"Type": "Mt4Symbol",
"Symbol": "EURUSD",
"Description": "Euro vs US Dollar",
"Contracts": [
"AUDUSD",
"USDJPY"
],
"Source": "",
"Currency": "EUR",
"SymbolGroup": "group",
"Digits": 5,
"Trade": "Enabled",
"Realtime": true,
"Sessions": [
{
"Quote": [
{
"Open": 0,
"Close": 0
},
{
"Open": 0,
"Close": 0
},
{
"Open": 0,
"Close": 0
}
],
"Trade": [
{
"Open": 0,
"Close": 0
},
{
"Open": 0,
"Close": 0
},
{
"Open": 0,
"Close": 0
}
]
}
],
"ProfitMode": "Forex",
"Filter": 0,
"FilterCounter": 3,
"FilterLimit": 0.005,
"FilterSmoothing": 0,
"Spread": 0,
"SpreadBalance": 0,
"ExeMode": "Instant",
"SwapEnable": true,
"SwapType": "Points",
"SwapLong": -3.06,
"SwapShort": 1.37,
"SwapRollover3Days": 3,
"ContractSize": 100000.0,
"TickValue": 0.0,
"TickSize": 0.0,
"StopsLevel": 0,
"GtcPendings": "GTC",
"MarginMode": "Forex",
"MarginInitial": 0.0,
"MarginMaintenance": 0.0,
"MarginHedged": 0.0,
"MarginDivider": 1.0,
"Point": 1E-05,
"Multiply": 100000.0,
"BidTickValue": 0.0,
"AskTickValue": 0.0,
"LongOnly": false,
"InstantMaxVolume": 0,
"MarginCurrency": "EUR",
"FreezeLevel": 0,
"MarginHedgedStrong": false,
"QuotesDelay": 0,
"SwapOpenPrice": false,
"SwapVariationMargin": false
},
"ResponseNode": "ResponseNodeTradingSymbol"
}
],
"RequestId": "27e1a440-2e16-48ed-9b5b-5851f2601633",
"ResponseMaster": "ResponseTradingSymbol"
}
Response ResponseTradingSymbol from МТ5
{
"Result": [
{
"Node": "demo",
"Platform": "Mt5",
"Result": {
"Node": "demo",
"Platform": "Mt5",
"Type": "Mt5Symbol",
"Symbol": "EURUSD",
"SymbolGroup": "Forex",
"Contracts": [ "EURUSD", "EURUSD_test" ],
"ISIN": "",
"Description": "Euro vs US Dollar",
"International": "",
"Basis": "",
"Source": "",
"Page": "http://www.google.com/finance?q=EURUSD",
"CurrencyBase": "EUR",
"CurrencyBaseDigits": 2,
"CurrencyProfitDigits": 0,
"CurrencyMargin": "EUR",
"CurrencyMarginDigits": 2,
"Color": -16777216,
"ColorBackground": -16777216,
"Digits": 5,
"Point": 1E-05,
"Multiply": 100000.0,
"TickRealtime": true,
"TickCollectRaw": true,
"TickFeedStats": false,
"TickBookDepth": 0,
"FilterSoft": 0,
"FilterSoftTicks": 1,
"FilterHard": 600,
"FilterHardTicks": 3,
"FilterDiscard": 30000,
"FilterSpreadMax": 0,
"FilterSpreadMin": 0,
"TradeMode": "Full access",
"CalcMode": "Forex",
"ExecMode": "Instant",
"GTCMode": "Good till cancelled",
"FillingFOK": false,
"FillingIOC": false,
"ExpirationGTC": true,
"ExpirationDay": true,
"ExpirationSpecified": true,
"ExpirationSpecifiedDay": true,
"Spread": 0,
"SpreadBalance": 1,
"SpreadDiff": 0,
"SpreadDiffBalance": 0,
"TickValue": 0.0,
"TickSize": 0.0,
"ContractSize": 100000.0,
"StopsLevel": 30,
"FreezeLevel": 0,
"QuotesTimeout": 0,
"VolumeMin": 100,
"VolumeMax": 1000000,
"VolumeStep": 100,
"VolumeLimit": 0,
"MarginLargeLeg": false,
"MarginCheckProcess": false,
"MarginCheckSLTP": false,
"MarginInitial": 0.0,
"MarginRateInitialBuy": 1.0,
"MarginRateInitialSell": 1.0,
"MarginRateInitialBuyLimit": 0.0,
"MarginRateInitialSellLimit": 0.0,
"MarginRateInitialBuyStop": 0.0,
"MarginRateInitialSellStop": 0.0,
"MarginRateInitialBuyStopLimit": 0.0,
"MarginRateInitialSellStopLimit": 0.0,
"MarginMaintenance": 0.0,
"MarginRateMaintenanceBuy": 0.0,
"MarginRateMaintenanceSell": 0.0,
"MarginRateMaintenanceBuyLimit": 0.0,
"MarginRateMaintenanceSellLimit": 0.0,
"MarginRateMaintenanceBuyStop": 0.0,
"MarginRateMaintenanceSellStop": 0.0,
"MarginRateMaintenanceBuyStopLimit": 0.0,
"MarginRateMaintenanceSellStopLimit": 0.0,
"SwapMode": "Disabled",
"SwapLong": -10.626,
"SwapShort": 6.193,
"Swap3Day": 3,
"FastConfirmationOfRequotes": false,
"RequestTimeout": 7,
"IECheckModeNormal": true,
"InstantTimeout": 7,
"IESlipProfit": 2,
"IESlipLosing": 2,
"IEVolumeMax": 0,
"PriceSettle": 0.0,
"PriceLimitMax": 0.0,
"PriceLimitMin": 0.0,
"ConvertProfit": "by deal",
"EnableTradingSignals": false,
"MarketOrders": true,
"LimitOrders": true,
"StopOrders": true,
"StopLimitOrders": true,
"StopLossOrders": true,
"TakeProfitOrders": true,
"CloseByOrders": true,
"OptionType": "Call",
"OptionStyle": "European",
"PriceStrike": 0.0,
"MarginRateLiqudity": 0.0,
"FaceValue": 0.0,
"AccruedInterest": 0.0,
"SpliceType": "None",
"SpliceDate": "Expiration",
"SpliceTimeDays": 0,
"MarginHedged": 100000.0,
"MarginRateCurrency": 0.0,
"FilterGap": 0,
"FilterGapTicks": 0,
"ChartMode": "by bid price",
"SessionsQuotes": [
[],
[
{
"Open": 0,
"Close": 1440
}
],
[
{
"Open": 0,
"Close": 1440
}
],
[
{
"Open": 0,
"Close": 1440
}
],
[
{
"Open": 0,
"Close": 1440
}
],
[
{
"Open": 0,
"Close": 1440
}
],
[]
],
"SessionsTrades": [
[],
[
{
"Open": 0,
"Close": 1440
}
],
[
{
"Open": 0,
"Close": 1440
}
],
[
{
"Open": 0,
"Close": 1440
}
],
[
{
"Open": 0,
"Close": 1440
}
],
[
{
"Open": 0,
"Close": 1440
}
],
[]
]
},
"ResponseNode": "ResponseNodeTradingSymbol"
}
],
"RequestId": "206d1e97-1243-4c61-bd8b-3e6547f15f89",
"ResponseMaster": "ResponseTradingSymbol"
}