OrderByIndex
Posted by Mohammad Rahhal, Last modified by Laith Ghawi on 02 July 2019 10:20 AM

Syntax

 Readonly Property OrderByIndex (ByRef Index As Integer) As VertexFXBOAPI.COOrder

Description

This property is used to return an object of type COOrder using the order index.

Parameters

Parameter Description 
OrderId Order location on the trading list, value of type is Integer.

Return value

Returns an object value of type COOrder.

Sample

 Public WithEvents BOAPI As CVertexFXBOAPI

Private Sub OrderIndex_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OrderIndex.Click

   Dim vOrder As COOrder = BOAPI.OrderByIndex(1)

   msgBox("Order Type : " & vOrder.OrderType & "Buy Sell : " & vOrder.BuySell)

 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