#include <ClosePrice.h>
Public Types | |
enum | { messageType = 'c' } |
Public Member Functions | |
ClosePrice () | |
ClosePrice (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 |
Price | closePrice |
DateTime | dateTime |
Definition at line 35 of file ClosePrice.h.
anonymous enum |
ClosePrice | ( | ) |
Default constructor.
ClosePrice | ( | 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.
void reset | ( | ) |
Reset all fields to default values.
std::string toString | ( | ) | const |
Returns string representation.
Price closePrice |
Close price. DealPriceDenominator
for the market should be applied to get the real price.
Definition at line 48 of file ClosePrice.h.
DateTime dateTime |
Date time the message was sent. Milliseconds since Jan 1st, 1970, 00:00:00 GMT.
Definition at line 52 of file ClosePrice.h.
MarketId marketId |
Unique identifier of the market.
Definition at line 44 of file ClosePrice.h.