Message: OrderEventRule

File: WebAPI/rules_1.proto

Description

Order event notification rule. Use it to get notifications for order events.

Used in

RuleDefinition

Fields

account_ids (deprecated)

Type: sint32

Description: Optional list of accounts. All accounts of the client if not specified.

order_statuses

Type: uint32

Description: Optional list of order statuses that the server will notify about. Note: It is not allowed to use any of the following statuses: APPROVE_REQUIRED, APPROVED_BY_EXCHANGE, APPROVE_REJECTED, MATCHED, PARTIALLY_MATCHED, TRADE_BROKEN. The server will notify about all order statuses (except those listed above) if not specified. Associated with shared_1.OrderStatus.Status enum type.

transaction_statuses

Type: uint32

Description: Optional list of transaction statuses that server will notify about. Note: It is not allowed to use any of the following statuses: APPROVING, APPROVE_REQUESTED, APPROVED_BY_EXCHANGE, REJECTED_BY_USER, MATCHED, TRADE_BROKEN, TRADE_AMENDED. The server will notify about all transaction statuses (except those listed above) if not specified. Note: If it’s specified along with the order_status field only notifications matching both filters will be sent. Associated with shared_1.TransactionStatus.Status enum type.

filters

Type: OrderEventFilter

Description: Custom order event filters.

dialect_id

Type: string

Description: Dialect which is going to be used for contract symbol in notifications. If not set, CQG dialect is used.

Note: It is not used for e-mail notifications.