Message: AllocatedAccount

File: WebAPI/order_2.proto

Description

Specifies pre-trade order allocation for single account.

Used in

Order

Fields

account_id

Type: sint32

Description: Allocated account id.

Required: yes.

qty

Type: cqg.Decimal

Description: Allocated quantity.

Required: yes.

is_required

Type: bool

Description: When a target allocated order for an allocated account fails risk check: - if is_required is set to true, the entire allocation order shall be rejected; - if is_required is set to false or omitted, the account shall be removed from the allocated account list and the order size shall be proportionally decreased by the quantity specified for the removed account.