Syntax
Function ChangSymbolSettings(SymbolID As Long, SymbolName As String, IsUsed As String, OpenDay As String, OpenTime As String, CloseDay As String, CloseTime As String, DailyCloseTime1 As String, DailyOpenTime1 As String, DailyCloseTime2 As String, DailyOpenTime2 As String, DailyCloseTime3 As String, DailyOpenTime3 As String, ExpiryDate As String, StopTradeIfNoPrice As String, StopTradeSeconds As String, TradeStatus as String, RefSymbol As String, TickPips As String, SpreadCalc As String, DDESource As String , ContractSize As String, IsDirect As String, RefSymbolCalc, ContractName As String) As String
Description
The ChangSymbolSettings operation is used to Change Symbol Settings for a specific given symbol ID.
Request Parameters
Name | Description | Required |
SymbolID |
|
Yes |
SymbolName |
|
Yes |
IsUsed |
|
Yes |
OpenDay |
|
Yes |
OpenTime |
|
Yes |
CloseDay |
|
Yes |
CloseTime |
|
Yes |
DailyCloseTime1 |
|
Yes |
DailyOpenTime1 |
|
Yes |
DailyCloseTime2 |
|
Yes |
DailyOpenTime2 |
|
Yes |
DailyCloseTime3 |
|
Yes |
DailyOpenTime3 |
|
Yes |
ExpiryDate |
|
Yes |
StopTradeIfNoPrice |
|
Yes |
StopTradeSeconds |
|
Yes |
TradeStatus | Type: Boolean
|
Yes |
RefSymbol |
|
Yes |
TickPips |
|
Yes |
SpreadCalc |
|
Yes |
DDESource |
|
Yes |
ContractSize |
|
Yes |
IsDirect |
|
Yes |
RefSymbolCalc |
|
Yes |
ContractName |
|
Yes |
Response Elements
Name | Description |
Result | The operation return Symbol ID in case of success, otherwise an explicit error code is returned |
See Also