SelectOrderByID
Posted by Angham Al-Banawien, Last modified by Abdullah Almasharfah on 07 December 2018 05:43 PM

Syntax

Public Function SelectOrderByID (ByVal OrderID As Integer) As Boolean.

This function is used to choose the order by the given ID number to get order information

Parameters

Parameter  Description 
OrderID 

Order index in the trade list. Value of type is Integer.

Return value

Returns true if order selected successfully otherwise returns false.

Note:
After choosing the order you can inquire about the property for the selected position using OrderGetDouble(), OrderGetInteger(),  OrderGetString(), OrderSymbol(), OrderTime(), OrderType().

Sample

  Public Sub main()

     Dim OrderID as Long = ClientCode.orderGetID (1)      
     Dim
 Result as Boolean

         Result = ClientCode.SelectOrderByID (OrderID)’ select the first order at trade list at client terminal
         GUI.MsgDialog(Result) 

  End Sub

 


See Also


Back to VTL Server Script 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