Public Function OrderLots (ByVal orderID As Long) As Double.
This function is used to get the order amountfor the given order ID.
The order number to get its amount. Value of type is Long.
Returns the orders amount of lots as the value of type Double.
Public Sub main() Dim OrderID as Long = ClientCode.orderGetID (1) Dim lots as Double lots = ClientCode.OrderLots (OrderID) GUI.MsgDialog(lots) End Sub