OrderByIndex
Posted by Rula Halaseh, Last modified by Fouad Faraj Allah on 02 July 2019 04:50 PM

Syntax

ReadOnly Property OrderByIndex(ByRef Index As Integer) As COOrder

Description

This property is used to return an object of type COOrder that belongs to the given order index in the trade list.

Parameters

Part Description 
Index Order index in the trading list, the value of type is Integer

Sample

 Private Sub OrderByIndex_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OrderByIndex.Click

  'API is perdefined variable as CVertexFXClientAPI

  Dim vOrder As COOrder

  vOrder = API.OrderByIndex(1)'First Order at trading list

  Msgbox("Order Lots : " & vOrder.Lots & "Order Symbol name " & vOrder.SymbolName)

 End Sub


See Also


VertexFX Client 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