26 #include "../Export.h" 28 #include "../Enumerations.h" 30 #include "../Optional.h" 36 namespace OnixS {
namespace ICE {
namespace iMpact {
namespace MarketData {
42 enum { messageType =
'q' };
122 struct ONIXS_ICEMDH_EXPORT
Leg 168 std::string toString()
const;
208 std::string toString()
const;
234 std::string toString()
const;
272 void deserialize(
const char* data,
size_t dataSize);
278 std::string toString()
const;
bool miFIDRegulatedMarket
Indicates MIFID-II market.
Optional< short > strategyCode
Optional< int > numOfCycles
Number of cycles (days, hours, MWh, etc) for a contract.
bool testMarketIndicator
Indicates Test Market.
std::string contractSymbol
See Naming Convention on Appendix D.
std::string strategySymbol
Strategy Symbol.
char priceDenominator
Hedge price denominator.
std::vector< Hedge > Hedges
Alias for collection of Hedges.
std::vector< BlockDetail > BlockDetails
Alias for collection of BlockDetails.
short MarketType
Alias for market types.
Optional< int > productId
bool legDealSuppressed
Indicates whether leg deals are suppressed.
SecurityType::Enum securityType
Security type.
long long Price
Alias for order identifiers type.
This nested class represents block details definition.
Optional< Price > maxPrice
char dealPriceDenominator
TradingStatus::Enum tradingStatus
See Appendix A on trading status codes.
MarketId marketId
Unique identifier of the market.
MarketType requestMarketType
See Appendix C for the list of market types and IDs.
Enum
Known types of block trade.
int MarketId
Alias for market identifiers type.
std::ostream & operator<<(std::ostream &, const Error &)
Make it printable to formatted C++ I/O streams.
Enum
Known trading statuses.
bool gtAllowed
Indicates if GTC is allowed in the market.
Optional< Date > optionsExpirationDate
Optional< short > strategyCode
Enum
Known security sub types.
Optional< int > ratioPriceNumerator
short ratio
Number of option contracts per increment quantity.
This nested class represents hedge definition.
char orderPriceDenominator
Denominator for the order price fields in this market.
MarketId underlyingMarketId
Futures market id of the underlying futures market.
Optional< int > ratioQtyNumerator
MarketId marketId
Future's market id of the hedge.
std::vector< Leg > Legs
Alias for collection of Legs.
int incrementQty
Minimum increment quantity for this market.
Hedges hedges
Collection of Hedges.
MarketId marketId
Market Id of the option leg market.
char settlePriceDenominator
This nested class represents leg definition.
BlockDetails blockDetails
Collection of BlockDetails.
This class represents the Options Strategy Definition Message.
Optional< int > ratioPriceDenominator
int minQty
Minimum quantity for this market.
Side::Enum side
Hedge side.
Optional< int > ratioQtyDenominator
Legs legs
Collection of Legs.
Optional< bool > overrideBlockMin
Indicates whether the Block Minimum can be overridden for the market.
BlockType::Enum blockType
Block Type.
int incrementPrice
Minimum increment premium price for this market.
int numOfMarkets
The number of options markets for the given market type.
std::string contractSymbolExtra
SecuritySubType::Enum securitySubType
bool isTradable
Indicates if the contract is tradable.
Enum
Security type constants.
MarketId underlyingMarketId
Unique identifier of the underlying market.
Optional< Price > minPrice
Enum
Trading side constants.
OffMarketTradeType::Enum tradeType
Trade Type.