File: WebAPI/order_2.proto
Compound order.
CompoundOrderEntry, NewCompoundOrder
Type: uint32
Description: This field is associated with Type enum type.
Type: string
Description: ID of the compound order assigned by client. Maximum allowed length is 64 bytes.
Type: CompoundOrderEntry
Description: List of entries.
Type: sint32
Description: Offset in ticks from fill price (variable ticks size is supported). The new order price will be calculated as (fill price + offset) for buy master orders and (price - offset) for sell master orders.
Type: sint32
Description: Offset in ticks from fill price (variable ticks size is supported). The new order price will be calculated as (fill price - offset) for buy master orders and (price + offset) for sell master orders.
Type: sint32
Description: Offset in ticks from loss_tick_offset for stop limit orders (variable ticks size is supported). The offset determines the limit price for stop limit order after the stop price is hit.
Type: bool
Description: Treat compound order as server-side bracket.
Description: Type of the compound order.
•TYPE_OPO = 1
Order Places Order. [Partial] fill of the first entry triggers [partial] placement of all other orders.
•TYPE_OCO = 2
Order Cancels Order. This type allows several compound order entries. [Partial] fill of any order triggers [partial] canceling of all other orders.
•TYPE_INDEPENDENT = 3
A set of otherwise unrelated orders being placed in one action.