Knowledgebase:
COSymbol
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 18 July 2017 08:28 AM

This class represents the symbol object that has all the symbol information (bid, ask, high, low, name)

The API SymbolPricesChanged event returns a COSymbol object that is the changed symbol.

Properties

Part Description
Name   Trading symbol name,value of type String. Read–only
ID Trading Symbol number,value of type Integer. Read–only
Bid Bid price for trading symbol,value of type Double . Read–only
Ask Ask price for trading symbol,value of type Double. Read–only
High High price for trading symbol,value of type Double. Read–only
Low Low price for trading symbol,value of type Double. Read–only
SymbolType The type of trading symbol, value of type SymbolTypeEnum.
CommCalcType Defines the commission calculate way, set the value of type CommCalTypeEnum .Write-only
ContractSize  Defines the contract size,value of type Double. Read-only
DealProfit Defines the profit for deal, value of type Double. Read-only
LastQuteTime Indicate the last symbol tick time,value of type String. Read-only
PipLoc Indicates the pip location,value of type Integer. Read-only.
Pips Indicates the pips value,value of type Double. Read-only. i.e. Pips(5) for EUR/USD is 0.00005
RefSymbolAsk The ask price for reference symbol,value of type Double. Read-only
RefSymbolBid The bid price for reference symbol,value of type Double. Read-only
RefSymbolID The symbol ID for the reference symbol,value of type integer,Read-only
TickPips The tick value for the symbol,value of type double. Read-only
EnableDelivery To indicate if can request the physical item for this symbol or not ,value of type Boolean.(Read only)
ExpiryDate Indicates the symbol expiry Date , value of type String , Read -only .
FormatPrice Method used to format price depending on symbol pip location,value of type String.
Price Method is used to get the current price for the given Type as value of type Double.
ParentID Parent Id that the symbol belongs to , value of type String.Read-Only
Spread  The difference between ask and bid price , Value of type String ,Read-Only.
IsUsed Indicates the symbol is used or not , value of type Boolean , Read -only .
PriceOffset Value that indicates how much the prices for pending order should be far from the market price.Value of type Integer.Read-Only.

See Also


VertexFX Backoffice API Index

(0 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