#include <OnixS/B3/MarketData/UMDF/OrderBook.h>
Public Member Functions | |
OrderBook () | |
virtual | ~OrderBook () |
InstrumentId | instrumentId () const |
bool | empty () const throw () |
std::string | toString () const |
void | toString (std::string &) const |
std::string | toShortString () const |
void | toShortString (std::string &) const |
std::string | toFormattedString () const |
void | toFormattedString (std::string &) const |
const Orders & | asks () const |
const Orders & | bids () const |
Messaging::SeqNum | lastMessageSeqNumApplied () const |
Messaging::RptSeq | lastRptSeq () const |
A set of bid and ask orders for the given security (bids are descending and asks are ascending). The quantity is provided at each price level.
Definition at line 113 of file OrderBook.h.
OrderBook | ( | ) |
|
virtual |
Destruction interface.
|
inline |
Returns a set of descending bid prices for the given security.
Definition at line 181 of file OrderBook.h.
|
inline |
Returns a set of ascending ask prices for the given security.
Definition at line 186 of file OrderBook.h.
|
inline |
Indicates whether book has no bids & asks.
Definition at line 196 of file OrderBook.h.
|
inline |
Instrument Id.
Definition at line 191 of file OrderBook.h.
|
inline |
Returns the last processed packet sequence number of the incremental channel.
Definition at line 201 of file OrderBook.h.
|
inline |
Returns the last processed RptSeq (sequence number per instrument update) for this instrument.
Definition at line 206 of file OrderBook.h.
std::string toFormattedString | ( | ) | const |
Returns formatted presentation of the book.
void toFormattedString | ( | std::string & | ) | const |
Appends Formatted presentation of the book.
std::string toShortString | ( | ) | const |
Returns brief book info.
void toShortString | ( | std::string & | ) | const |
Appends brief book info to the string.
std::string toString | ( | ) | const |
String presentation of the book.
void toString | ( | std::string & | ) | const |
String presentation of the book.