Knowledgebase:
OrderById
Posted by Rula Halaseh, Last modified by Rawan Al Hourani on 25 October 2017 09:30 AM

Syntax

ReadOnly Property OrderByID(ByRef OrderId As Integer) As COOrder

This property is used to return an object of type COOrder that belongs to the given order identifier.

Parameters

Part Description 
OrderID Order number to get the order object for  ,value of type long.

Sample

 Private Sub OrderByID_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OrderByID.Click
 
   'API is perdefined variable as CVertexFXClientAPI

   Dim vOrder As COOrder

   vOrder = OrderByID(54321)'change with your order number

   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