Declare ICE iMpact enumerations.
long long Price
Alias for order identifiers type.
short MarketType
Alias for market types.
std::ostream & operator<<(std::ostream &, const Error &)
Make it printable to formatted C++ I/O streams.
int MarketId
Alias for market identifiers type.
Enum
Known types of block trade.
Enum
Option type constants.
Enum
Option expiration type constants.
BlockDetail()
Default constructor.
std::string toString() const
Returns string representation.
BlockType::Enum blockType
Block Type.
OffMarketTradeType::Enum tradeType
Trade Type.
This class represents the Options Product Definition Message.
OptionsExpirationType::Enum optionsExpirationType
Options expiration type.
int incrementQty
Minimum increment quantity for this market.
BlockDetails blockDetails
Collection of BlockDetails.
Optional< long long > screenTickValue
char dealPriceDenominator
Optional< int > productId
bool isTradable
Indicates if the contract is tradable.
MarketId underlyingMarketId
char numDecimalsStrikePrice
Denominator for the strike price field.
std::string contractSymbolExtra
short screenLastTradeDay
Screen last trade day of the month.
std::string toString() const
Returns string representation.
Optional< bool > overrideBlockMin
Indicates whether the Block Minimum can be overridden for the market.
std::string contractSymbol
See Naming Convention on Appendix D.
int minQty
Minimum quantity for this market.
bool gtAllowed
Indicates if GTC is allowed in the market.
bool crossOrderSupported
Indicates if Cross order is supported in the market.
Optional< int > contractSize
MarketType requestMarketType
See Appendix C for the list of market types and IDs.
short optionsExpirationMonth
Month range 1-12.
int numOfMarkets
The number of options markets for the given market type.
bool testMarketIndicator
Indicates Test Market.
OptionsStyle::Enum optionsStyle
Options style.
Optional< long long > blockTickValue
OptionsProductDefinition(const char *data, std::size_t dataSize)
Initialize from raw message data.
Optional< int > numOfCycles
Number of cycles (days, hours, MWh, etc) for a contract.
short optionsExpirationDay
Day of the month.
short optionsExpirationYear
4 digit year.
std::string marketDesc
Description of the market.
void deserialize(const char *data, std::size_t dataSize)
Deserialize from raw data.
char settlePriceDenominator
OptionsProductDefinition()
Default constructor.
SettlementType::Enum settlementType
Settlement type.
TradingStatus::Enum tradingStatus
See Appendix A on trading status codes.
short screenLastTradeYear
Screen last trade year, 4 digits.
bool flexAllowed
Indicates if flexible strikes can be created for the option market.
bool miFIDRegulatedMarket
Indicates MIFID-II market.
short screenLastTradeMonth
Screen last trade month, range 1-12.
int incrementPremiumPrice
Price increment for the option market.
Price maxOptionsPrice
Maximum premium price for the option.
Price minOptionsPrice
Minimum premium price for the option.
Optional< char > contractSizeDenominator
Denominator for ContractSize.
OptionType::Enum optionType
Option type.
std::string unitOfMeasure
Unit Of Measure.
void reset()
Reset all fields to default values.
std::vector< BlockDetail > BlockDetails
Alias for collection of BlockDetails.
bool guaranteedCrossSupported
Indicates if Guarantee Cross is supported in the market.
Optional< char > tickValueDenominator
Denominator for ScreenTickValue and BlockTickValue.
MarketId marketId
Unique identifier of the option market.
std::string currency
The currency that the market is traded on.
char orderPriceDenominator
Denominator for the order price fields in this market.
Enum
Option settlement type constants.
Enum
Settlement type constants.
Enum
Known trading statuses.