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.
|OrderID||ID for the order you want to know its type|
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.
Leave A Comment