Live Chat Software by Hybrid Solutions
Knowledgebase
ChangeSymbolSettings
Posted by Mohammad Rahhal on 24 March 2014 04:04 PM

Syntax

 Function ChangeSymbolSettings(ByRef SymbolsIDs As StringOptional ByRef Name As String = “#*#”, Optional ByRef OpenDay As String = “#*#”, Optional ByRef OpenTime As String = “#*#”, Optional ByRef CloseDay As String = “#*#”, Optional ByRef CloseTime As String = “#*#”, Optional ByRef DailyCloseTime1 As String = “#*#”, Optional ByRef DailyOpenTime1 As String = “#*#”, Optional ByRef DailyCloseTime2 As String = “#*#”, Optional ByRef DailyOpenTime2 As String = “#*#”, Optional ByRef DailyCloseTime3 As String = “#*#”, Optional ByRef DailyOpenTime3 As String = “#*#”, Optional ByRef TickPips As String = “#*#”, Optional ByRef MarketIsClosed As String = “#*#”, Optional ByRef DDESource As String = “#*#”, Optional ByRef IsUsed As String = “#*#”, Optional ByRef PipLoc As String = “#*#”, Optional ,Optional ByRef SymbolType As String = “#*#”,Optional ByRef RefSymbol As String = “#*#”,ByRef ContractSize As String = “#*#”, Optional ByRef Direct As String = “#*#”,Optional ByRef RefCalc As String = “#*#”Optional ByRef MoveIfClosed As String = “#*#”,Optional ByRef GiveQuote As String = “#*#”,Optional ByRef HighType As String = “#*#”,Optional ByRef LowType As String = “#*#”,Optional ByRef Unit As String = “#*#”,Optional ByRef IntEnabled As String = “#*#”, Optional ByRef IntBuyRate As String = “#*#”, Optional ByRef IntSellRate As String = “#*#”, Optional ByRef IntYearDays As String = “#*#”,Optional ByRef IntDayClose As String = “#*#”, Optional ByRef IntCalcTime As String = “#*#”, Optional ByRef IntSatDays As String = “#*#”, Optional ByRef IntSunDays As String = “#*#”, Optional ByRef IntMonDays As String = “#*#”, Optional ByRef IntTusDays As String = “#*#”, Optional ByRef IntWedDays As String = “#*#”, Optional ByRef IntThrDays As String = “#*#”, Optional ByRef IntFriDays As String = “#*#”, Optional ByRef StopTradeIfNoPrices As String = “#*#”, Optional ByRef StopTradeSeconds As String = “#*#”, Optional ByRef Requotable As String = “#*#”, Optional ByRef BackColor As String = “#*#”,Optional ByRef MOType As String = “#*#”,Optional ByRef PairNo As String = “#*#”,Optional ByRef Description As String = “#*#”,Optional ByRef SpreadType As String = “#*#”, Optional ByRef JustClose As String = “#*#”, Optional ByRef BuyOnly As String = “#*#”, Optional ByRef ExpDate As String = “#*#”,Optional ByRef EnableDel As String = “#*#”,Optional ByRef IntrestType As String = “#*#”) As ChangeSymbolSettingsEnum

This function changes settings for specific symbols and return value of type ChangeSymbolSettingsEnum.

Parameters

Parameter Description 
SymbolsIDs Symbols IDs that setting will be changed that separated by commas
Name  The name for this symbol which will appear on the Market Watch, “#*#” means don’t change the current setting
OpenDay To set weekly trading time, by defining the opening day. , “#*#” means don’t change the current setting
OpenTime To set weekly trading time, by defining the opening time. , “#*#” means don’t change the current setting
CloseDay To set weekly trading time, by defining the closing day. , “#*#” means don’t change the current setting
CloseTime To set weekly trading time, by defining the closing time. , “#*#” means don’t change the current setting
DailyCloseTime1 Daily close time, “#*#” means don’t change the current setting
DailyOpenTime1 Daily open time. , “#*#” means don’t change the current setting
DailyCloseTime2 Daily close time. , “#*#” means don’t change the current setting
DailyOpenTime2 Daily open time. , “#*#” means don’t change the current setting
DailyCloseTime3 Daily close time. , “#*#” means don’t change the current setting
DailyOpenTime3 Daily open time. , “#*#” means don’t change the current setting
TickPips To define the exact number of Pips desired to be increased or decreased at the Chatting window for this symbol. And it mustn't be Null or Zero value, “#*#” means don’t change the current setting
MarketIsClosed Trade Status, “0” means open “1” means close
DDESource  Source Name, “#*#” means don’t change the current setting
IsUsed  To determine if the selected symbol is used or not.
If the symbol is used you can show it in the 
Market Watch Window “1” means True “0” means False, “#*#” means don’t change the current setting
PipLoc To set the number of decimal moving points, “#*#” means don’t change the current setting
MoveIfClosed Let the selected symbol prices to be moving on the Market Watch Window although the system market is closed, “1” means enable “0” means disable, “#*#” means don’t change the current setting
SymbolType To set the symbol Type to be Group of symbol or not ,“#*#” means don’t change the current setting
RefSymbol To set the symbol references,“#*#” means don’t change the current setting
ContractSize The contract size which belongs to the value for standard one lot amount of the selected symbol, “#*#” means don’t change the current setting
IntEnabled  Enable the interest for selected symbols “1” means enable “0” means disable
Direct To set the Direct/Indirect ,“#*#” means don’t change the current setting.
RefCal  To set the way to calculation the reference symbol if multiplication / Division,“#*#” means don’t change the current setting
MoveIFClose To set value of move the prices for the symbol if the market is closed,“#*#” means don’t change the current setting.
GiveQuote To set the quote value,“#*#” means don’t change the current setting.
IntSellRate  Short Swap rate, “#*#” means don’t change the current setting
IntCalcTime  To set the time which the interest will be calculated every day, “#*#” means don’t change the current setting
IntBuyRate  Long Swap Days, “#*#” means don’t change the current setting
IntYearDays  Year Days, “#*#” means don’t change the current setting
IntSatDays  Saturday interest factor, “#*#” means don’t change the current setting
IntSunDays  Sunday interest factor, “#*#” means don’t change the current setting
IntMonDays  Monday interest factor, “#*#” means don’t change the current setting
IntTusDays Tuesday interest factor, “#*#” means don’t change the current setting
IntWedDays Wednesday interest factor, “#*#” means don’t change the current setting
IntThrDays Thursday interest factor, “#*#” means don’t change the current setting
IntFriDays Friday interest factor, “#*#” means don’t change the current setting
StopTradeSeconds  Stop trading on the selected symbol when its rates stop for a certain second, “#*#” means don’t change the current setting
BackColor Market Watch Back color for this symbol, “#*#” means don’t change the current setting
JustClose If you set this option to "0" then your clients can be trading with buy & sell orders on this symbol.
And if you set it to “1”, then you will force the clients to only close their positions of this symbol
ExpDate Set an expiry date for this symbol, “#*#” means don’t change the current setting
BuyOnly If you set this option to "0" then your clients can start trading with buy & sell orders on this symbol.
And if you set it to "1" then you will force the clients to set only buy orders for the first trade on this symbol, “#*#” means don’t change the current setting
Requotable  If you enable this option then when a dealer change (re-quote) an order price, a confirmation message will be sent to the client who requested the order to inform him with the new accepted price., “1” means enable “0” means disable, “#*#” means don’t change the current setting
StopTradeIfNoPrices You can use this option if you want to stop trading on the selected symbol when its rates stop for a certain second, “#*#” means don’t change the current setting

 


See Also


VertexFX Backoffice API Index

(1 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions