OnixS ICE iMpact Multicast Price Feed Handler C++ library 8.18.0
API documentation
Loading...
Searching...
No Matches
NewOptionsStrategyDefinition::Leg Struct Reference

Public Member Functions

 Leg ()
std::string toString () const

Public Attributes

MarketId marketId
MarketId underlyingMarketId
short ratio
Side::Enum side
Optional< short > strategyCode
Optional< int > ratioQtyNumerator
Optional< int > ratioQtyDenominator
Optional< int > ratioPriceNumerator
Optional< int > ratioPriceDenominator

Detailed Description

Definition at line 143 of file NewOptionsStrategyDefinition.h.

Constructor & Destructor Documentation

◆ Leg()

Leg ( )

Default constructor.

Member Function Documentation

◆ toString()

std::string toString ( ) const

Returns string representation.

Member Data Documentation

◆ marketId

MarketId marketId

Market Id of the option leg market.

Definition at line 146 of file NewOptionsStrategyDefinition.h.

◆ ratio

short ratio

Number of option contracts per increment quantity.

Definition at line 152 of file NewOptionsStrategyDefinition.h.

◆ ratioPriceDenominator

Optional<int> ratioPriceDenominator

The price ratio is the fractional weighted price component per leg in the strategy. Using a Q4 2017 set as composite strategy as an example, each leg Oct 2017, Nov 2017 and Dec 2017 will have 3 as the LegRatioPriceDenominator.

Definition at line 183 of file NewOptionsStrategyDefinition.h.

◆ ratioPriceNumerator

Optional<int> ratioPriceNumerator

The price ratio is the fractional weighted price component per leg in the strategy. Using a Q4 2017 set as composite strategy as an example, each leg Oct 2017, Nov 2017 and Dec 2017 will have 1 as the LegRatioPriceNumerator.

Definition at line 177 of file NewOptionsStrategyDefinition.h.

◆ ratioQtyDenominator

Optional<int> ratioQtyDenominator

The quantity ratio represents the proportion of each of the leg of interproduct spreads. The Leg ratio denominator will be set to 1 for most products not but will be used in future product launches.

Definition at line 171 of file NewOptionsStrategyDefinition.h.

◆ ratioQtyNumerator

Optional<int> ratioQtyNumerator

The quantity ratio represents the proportion of each of the leg of interproduct spreads. Using Gas Oil crack as an example. This will be set to 4 for the Gas oil leg and 3 for the Brent leg.

Definition at line 166 of file NewOptionsStrategyDefinition.h.

◆ side

Side::Enum side

Leg side.

Definition at line 155 of file NewOptionsStrategyDefinition.h.

◆ strategyCode

Optional<short> strategyCode

The strategy code for the leg. If set, this field can be used to obtain the next level of granularity of the strategy. If it is not set, the /c LegMarketID is the most granular level for the market. See Appendix E for list of codes.

Definition at line 161 of file NewOptionsStrategyDefinition.h.

◆ underlyingMarketId

MarketId underlyingMarketId

Futures market id of the underlying futures market.

Definition at line 149 of file NewOptionsStrategyDefinition.h.