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 Settlement Price Message.
std::string toString() const
Returns string representation.
SettlementPrice()
Default constructor.
void deserialize(const char *data, std::size_t dataSize)
Deserialize from raw data.
SettlementPrice(const char *data, std::size_t dataSize)
Initialize from raw message 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.