Returns a sub-collection of current orders collection, filtered by order type.
Visual Basic |
---|
Public Function SelectByOrderType( _ ByVal order_type As eOrderType _ ) As CQGOrders |
- order_type
Value Description otLimit Limit order.
otMarket Market order.
otStop Stop order.
otStopLimit Stop Limit order.
otUndefined Undefined order type.
Order type that will be used as the selection criteria, represented as eOrderType
A CQGOrders collection consisting of orders with the same Type which are picked from the current orders collection.
See the usage of CQGOrders methods in the PrepareModify method's example section.