Knowledgebase:
ClientSymbol
Posted by Rula Halaseh, Last modified by Rawan Al Hourani on 03 May 2017 11:51 AM

Syntax

 Function ClientSymbol(ByRef SymbolID As Integer, ByRef AccountID As Integer) As COSymbol

This function used to return COSymbol object to get symbol prices with client's spread.

Parameters

Part Description 
SymbolID Trading symbol ID to get COSymbol for, it value of type Integer.
AccountID Associated Account ,value of type Integer

Sample

 Public WithEvents m_oBOAPI As CVertexFXBOAPI

 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
     
      Dim vAccount As COAccount
      Dim vClient As COClient
      vClient = m_oBOAPI.ClientByIndex(1)
      vAccount = m_oBOAPI.AccountByIndex(vClient.ClientID,1)

        MsgBox(m_oBOAPI.ClientSymbol(6, vAccount.AccountID).Ask)

 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