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

Classes

struct  Hedge
struct  Leg

Public Types

enum  
typedef std::vector< LegLegs
typedef std::vector< HedgeHedges

Public Member Functions

 NewOptionsStrategyDefinition ()
 NewOptionsStrategyDefinition (const char *data, std::size_t dataSize)
void deserialize (const char *data, std::size_t dataSize)
void reset ()
std::string toString () const

Public Attributes

MarketId marketId
MarketId underlyingMarketId
std::string contractSymbol
TradingStatus::Enum tradingStatus
char orderPriceDenominator
int incrementPrice
int incrementQty
int minQty
SecuritySubType::Enum securitySubType
bool isBlockOnly
std::string strategySymbol
bool gtAllowed
bool miFIDRegulatedMarket
char dealPriceDenominator
char settlePriceDenominator
char unitQtyDenominator
bool testMarketIndicator
std::string contractSymbolExtra
bool legDealSuppressed
bool isTradable
short optionsExpirationYear
short optionsExpirationMonth
short optionsExpirationDay
short marketTypeId
bool overrideBlockMin
int numOfCycles
Price minPrice
Price maxPrice
Legs legs
Hedges hedges

Detailed Description

Definition at line 38 of file NewOptionsStrategyDefinition.h.

Member Typedef Documentation

◆ Hedges

typedef std::vector<Hedge> Hedges

Alias for collection of Hedges.

Definition at line 233 of file NewOptionsStrategyDefinition.h.

◆ Legs

typedef std::vector<Leg> Legs

Alias for collection of Legs.

Definition at line 193 of file NewOptionsStrategyDefinition.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Message type constant.

Enumerator
messageType 'U' 

Definition at line 41 of file NewOptionsStrategyDefinition.h.

Constructor & Destructor Documentation

◆ NewOptionsStrategyDefinition() [1/2]

Default constructor.

◆ NewOptionsStrategyDefinition() [2/2]

NewOptionsStrategyDefinition ( const char * data,
std::size_t dataSize )

Initialize from raw message data.

Member Function Documentation

◆ deserialize()

void deserialize ( const char * data,
std::size_t dataSize )

Deserialize from raw data.

◆ reset()

void reset ( )

Reset all fields to default values.

◆ toString()

std::string toString ( ) const

Returns string representation.

Member Data Documentation

◆ contractSymbol

std::string contractSymbol

See Naming Convention on Appendix D.

Definition at line 53 of file NewOptionsStrategyDefinition.h.

◆ contractSymbolExtra

std::string contractSymbolExtra

Extra contract symbol. Some contract symbols might contain more than 35 characters. Clients should append this field to ContractSymbol (Offset 11) to get the complete contract symbol.

Definition at line 105 of file NewOptionsStrategyDefinition.h.

◆ dealPriceDenominator

char dealPriceDenominator

Denominator for the deal price fields in the market. For most markets, this is the same as OrderPriceDenominator.

Definition at line 89 of file NewOptionsStrategyDefinition.h.

◆ gtAllowed

bool gtAllowed

Indicates if GTC is allowed in the market.

Definition at line 82 of file NewOptionsStrategyDefinition.h.

◆ hedges

Hedges hedges

Collection of Hedges.

Definition at line 236 of file NewOptionsStrategyDefinition.h.

◆ incrementPrice

int incrementPrice

Minimum increment premium price for this market.

Definition at line 62 of file NewOptionsStrategyDefinition.h.

◆ incrementQty

int incrementQty

Minimum increment quantity for this market.

Definition at line 65 of file NewOptionsStrategyDefinition.h.

◆ isBlockOnly

bool isBlockOnly

Indicates if Market is only tradable via ICE Block Trade. This also means the screen trading is not allowed for the market.

Definition at line 76 of file NewOptionsStrategyDefinition.h.

◆ isTradable

bool isTradable

Indicates if the contract is tradable.

Definition at line 111 of file NewOptionsStrategyDefinition.h.

◆ legDealSuppressed

bool legDealSuppressed

Indicates whether leg deals are suppressed.

Definition at line 108 of file NewOptionsStrategyDefinition.h.

◆ legs

Legs legs

Collection of Legs.

Definition at line 196 of file NewOptionsStrategyDefinition.h.

◆ marketId

MarketId marketId

Unique identifier of the market.

Definition at line 47 of file NewOptionsStrategyDefinition.h.

◆ marketTypeId

short marketTypeId

See Appendix C for the list of makret types and IDs.

Definition at line 126 of file NewOptionsStrategyDefinition.h.

◆ maxPrice

Price maxPrice

Maximum price. OrderPriceDenominator should be applied to this field.

Definition at line 140 of file NewOptionsStrategyDefinition.h.

◆ miFIDRegulatedMarket

bool miFIDRegulatedMarket

Indicates MIFID-II market.

Definition at line 85 of file NewOptionsStrategyDefinition.h.

◆ minPrice

Price minPrice

Minimum price. OrderPriceDenominator should be applied to this field.

Definition at line 136 of file NewOptionsStrategyDefinition.h.

◆ minQty

int minQty

Minimum quantity for this market.

Definition at line 68 of file NewOptionsStrategyDefinition.h.

◆ numOfCycles

int numOfCycles

Number of cycle (days, hours, MWh, etc.) for a contract.

Definition at line 132 of file NewOptionsStrategyDefinition.h.

◆ optionsExpirationDay

short optionsExpirationDay

Day of the month. Last date that the option market can be traded and should be removed from the system.

Definition at line 123 of file NewOptionsStrategyDefinition.h.

◆ optionsExpirationMonth

short optionsExpirationMonth

Month range 1-12. Last date that the option market can be traded and should be removed from the system.

Definition at line 119 of file NewOptionsStrategyDefinition.h.

◆ optionsExpirationYear

short optionsExpirationYear

4 digit year. Last date that the option market can be traded and should be removed from the system.

Definition at line 115 of file NewOptionsStrategyDefinition.h.

◆ orderPriceDenominator

char orderPriceDenominator

Denominator for the order price fields in this market.

Definition at line 59 of file NewOptionsStrategyDefinition.h.

◆ overrideBlockMin

bool overrideBlockMin

Indicates whether the Block Minimum can be overridden for the market.

Definition at line 129 of file NewOptionsStrategyDefinition.h.

◆ securitySubType

SecuritySubType::Enum securitySubType

Contains the Strategy Code for defined market where applicable. See Appendix E for list of codes.

Definition at line 72 of file NewOptionsStrategyDefinition.h.

◆ settlePriceDenominator

char settlePriceDenominator

Denominator for the settlement price fields in the market. For most markets, this is the same as DealPriceDenominator.

Definition at line 93 of file NewOptionsStrategyDefinition.h.

◆ strategySymbol

std::string strategySymbol

Strategy Symbol.

Definition at line 79 of file NewOptionsStrategyDefinition.h.

◆ testMarketIndicator

bool testMarketIndicator

Indicates Test Market.

Definition at line 100 of file NewOptionsStrategyDefinition.h.

◆ tradingStatus

TradingStatus::Enum tradingStatus

See Appendix A on trading status codes.

Definition at line 56 of file NewOptionsStrategyDefinition.h.

◆ underlyingMarketId

MarketId underlyingMarketId

Unique identifier of the underlying market.

Definition at line 50 of file NewOptionsStrategyDefinition.h.

◆ unitQtyDenominator

char unitQtyDenominator

Denominator for UnitQuantity. This field will be 0 for most of the markets.

Definition at line 97 of file NewOptionsStrategyDefinition.h.