Message: StrategyOrderLegParameters

File: WebAPI/strategy_2.proto

Description

Parameters associated with a concrete leg.

Used in

StrategyTradingParameters

Fields

node_path

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.

account_id

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.

open_close_instruction

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.

speculation_type

Type: uint32

Description: Speculation type of the leg order. One of SpeculationType enum. If not set, the speculation type of the order used instead.

reserved1

Type: uint32