Syntax
Public Overrides Function OrderBuySell(ByVal OrderID As Long)As OperationTypeEnum
This function is used to recognize if your order type is Buy, Sell, BuyStop or SellStop.
Parameters
Key | Description |
OrderID | ID for the order you want to know its type |
Remarks
If you want to know the type of specific order, just use this function with the order ID and you will have the order of type OperationType.
See Also