Message: AccountOrderFilter

File: WebAPI/order_2.proto

Description

Specifies an account and what orders to use in the account.

Used in

CancelAllOrders

Fields

account_id

Type: sint32

Description: ID of the order’s account.

Source: trading_account_2.Account.account_id.

mine

Type: bool

Default: true

Description: Specifies either all orders in the account or just orders in the account associated with the trader sending the request.

suspended

Type: bool

Default: false

Description: Specifies whether only suspended orders or all not suspended orders in the account associated with the trader sending the request.

side

Type: uint32

Description: Specifies whether only BUY orders or only SELL orders. This field is associated with Order.Side enum type.

contract_id

Type: uint32

Description: Use only orders of specified contract.

Source: metadata_2.ContractMetadata.contract_id.

current_day_only

Type: bool

Default: false

Description: Specifies whether only order(s) expiring during the current/nearest session should be considered.