CQG API 4.0 - Revised
AllOrdersCanceled Event
See Also  Send Feedback
order_side

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

CQGCEL Interface : AllOrdersCanceled Event

Glossary Item Box

Description

This event is fired when all orders are cancelled only from within CQG IC.

Syntax

Visual Basic
Public Event AllOrdersCanceled( _
   ByVal order_side As eOrderSideFilter, _
   ByVal gw_account_ids As CQGIntegerCollection, _
   ByVal instrument_names As CQGStringCollection _
)

Parameters

order_side
ValueDescription
osftAllBoth buy and sell orders
osftBuy

Buy orders

osftSellSell 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

Remarks

This event can be used by users as a notification to cancel their Algorithmic Orders.

See Also