OrderSymbol
Posted by Mohammad Rahhal, Last modified by Laith Ghawi on 02 July 2019 09:26 AM

Syntax

 Readonly Property OrderSymbol(OrderID As Integer) As VertexFXBOAPI.COSymbol

Description

This property use to return the COSymbol object by giving order number.

Parameters

Part Description
OrderID Associated order number to know the order symbol .value of type Integer.

Remarks  

If you want to know the order symbol, you can use this property and fill order ID as a parameter.

Return value

 Returns COSymbol object according to order symbol .

Sample

 Public WithEvents BOAPI As CVertexFXBOAPI

Private Sub OrderSymbol_Click(ByVal sender As System.Object,ByVal e As System.EventArgs) Handles  OrderSymbol.Click 

    Dim sym As COSymbol

    Dim vOrder As COOrder = BOAPI.OrderByIndex(1)

    sym = BOAPI.OrderSymbol(vOrder.OrderID)

    Msgbox("Symbol name : " & sym.name & "Ask price: " & sym.Ask & "Bid price " & sym.Bid)

 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