Spread
Posted by Mohammad Rahhal, Last modified by Laith Ghawi on 01 July 2019 11:14 AM

Syntax

 Function spread(ByRef SymbolID As Integer) As Double

Description

This function use to returns the spread value for specific symbol.

Parameters

Parameter Description 
SymbolID Trading symbol number,value of type Integer.

Return value

 Returns Spread value as value of type Doubel.

Sample

Public WithEvents BOAPI As CVertexFXBOAPI

Private Sub BtnSpread_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnSpread.Click

    Dim sym As COSymbol

    sym = BOAPI.SymbolByName("EUR/USD")

    Msgbox(BOAPI.Spread(sym.ID))

 End Sub​

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