OrderSelect
Posted by Mohammad Rahhal, Last modified by Ismail Moamer on 18 October 2021 12:59 PM

Syntax

 Public Function OrderSelect(OrderID As Long) As Boolean

Description

This function is used to choose a pending order at the orders list by taking its ID.

Parameters

Key Description 
OrderID Pending order number to be selected, value of type Long..

Return value

Return true if successful .Otherwise returns false. In order to get an error, call GetLastError() function.

Note:
After choosing order by order number, you can inquire about the property of order by using OrderGetDouble(), OrderType(), orderTime() , orderSymbol() ,OrderGetString(), . OrderGetInteger() and orderLots().

Sample

 Public Sub main ()

  Dim order
  order = OrderGetID (1)

  AlertMessage OrderSelect (Clng (order))‘Returns True if order selected successfully  
 End sub

See Also


Back to VTL Client 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