File: WebAPI/strategy_2.proto
Parameters associated with a concrete leg.
Type: string
Description: Path in the tree of the strategy from the root to the leg node. The format is described in the header of strategy_definition_2.StrategyDefinition message.
Required: in server message.
Type: sint32
Description: Account ID to place an order on the leg. If not set, the account ID of the order used instead. Can’t be specified for UDS and native strategies.
Type: uint32
Description: Specifies what the order is intended to do: open or close (reduce) a position. One of OpenCloseInstruction enum. Applicable only if ContractMetadata.position_tracking is either LONG_SHORT_WITH_IMPLIED_CLOSE or LONG_SHORT_WITH_EXPLICIT_CLOSE. If not set, the open/close instruction of the order used instead.
Type: uint32
Description: Speculation type of the leg order. One of SpeculationType enum. If not set, the speculation type of the order used instead.
Type: uint32