long long Price
Alias for order identifiers type.
std::ostream & operator<<(std::ostream &, const Error &)
Make it printable to formatted C++ I/O streams.
int MarketId
Alias for market identifiers type.
long long DateTime
Represents the number of nanoseconds since Jan 1st, 1970, 00:00:00 GMT.
This class represents the Option Settlement Price Message.
std::string toString() const
Returns string representation.
long long volatility
Apply 2 as the denominator to get the real value.
OptionSettlementPrice()
Default constructor.
OptionSettlementPrice(const char *data, std::size_t dataSize)
Initialize from raw message data.
void deserialize(const char *data, std::size_t dataSize)
Deserialize from raw data.
DateTime valuationDateTime
void reset()
Reset all fields to default values.
bool isOfficial
Flag to indicate this is official settlement price or not.
Price settlementPriceWithDealPricePrecision
MarketId marketId
Unique identifier of the market.