This event is fired when all orders are cancelled only from within CQG IC.
Visual Basic |
---|
Public Event AllOrdersCanceled( _ ByVal order_side As eOrderSideFilter, _ ByVal gw_account_ids As CQGIntegerCollection, _ ByVal instrument_names As CQGStringCollection _ ) |
- order_side
Value Description osftAll Both buy and sell orders osftBuy Buy orders
osftSell Sell orders Order side filter applied to order cancelation
- gw_account_ids
Collection of Gateway account identifiers, whose orders were canceled or empty if all accounts were affected
- instrument_names
Collection of instruments in C.CC.NAME format or empty if all instruments were affected
This event can be used by users as a notification to cancel their Algorithmic Orders.