Message: CompoundOrderStructure

File: WebAPI/order_2.proto

Description

Compound order structure.

Used in

CompoundOrderStructureEntry, OrderStatus

Fields

type

Type: uint32

Description: This field is associated with CompoundOrder.Type enum type. Type of the compound order.

cl_compound_id

Type: string

Description: ID of the compound order assigned by client.

compound_order_entries

Type: CompoundOrderStructureEntry

Description: List of entries.

profit_offset

Type: sint32

Description: Offset in ticks from fill price. The new order price will be calculated as (fill price + offset) for buy master orders and (fill price - offset) for sell master orders.

loss_offset

Type: sint32

Description: Offset in ticks from fill price. The new order price will be calculated as (fill price - offset) for buy master orders and (fill price + offset) for sell master orders.

stop_limit_offset

Type: sint32

Description: Offset in ticks from loss_offset for stop limit orders. The offset determines the limit price for the order the stop limit becomes when the stop price is hit.