Creates a new bracket order
Visual Basic |
---|
Public Function CreateBracketOrder( _ ByVal cqg_order As CQGOrder, _ Optional ByVal stoploss_order_type As eOrderType = otStop _ ) As CQGBracketOrder |
- cqg_order
- stoploss_order_type
Value Description otLimit Limit order.
otMarket Market order.
otStop Stop order.
otStopLimit Stop Limit order.
otUndefined Undefined order type.
Stop-loss order type can only be either otStop or otStopLimit.