Message: LegAllocation

File: WebAPI/order_2.proto

Description

Leg allocation of the cross order

Used in

CrossOrderParameters

Fields

contract_id

Type: uint32

Description: Server side contract ID of the leg (see ContractMetadata message).

Source: metadata_2.ContractMetadata.contract_id.

Required: yes.

qty

Type: cqg.Decimal

Description: Size of the leg.

price

Type: double

Description: Price of the leg (in correct format).

Required: yes.

side

Type: uint32

Description: Side of the leg for exchanges that support LegAllocation as independent child of CrossOrderParameters rather than child of SideAllocation. This field is associated with Order.Side enum type.

leg_alloc_id

Type: sint64

Description: Identifier of the leg allocation record, this field is generated by the server. The client may require to set this field to modify/approve existing leg allocation.

trade_match_id

Type: string

Description: Identifier assigned to a trade by a matching system. This field is only sent from the server to the client. Check if the field is supported for the specific execution system.