#include <OnixS/CboeCFE/MarketData/Pitch/OrderBook.h>
Public Member Functions | |
OrderBook () | |
virtual | ~OrderBook () |
StrRef | symbol () const |
bool | empty () const ONIXS_BATS_PITCH_NOTHROW |
bool | bestAsk (BinaryPrice &price, Quantity &quantity) const |
bool | bestBid (BinaryPrice &price, Quantity &quantity) const |
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 PriceLevels & | asks () const |
const PriceLevels & | bids () const |
UInt32 | lastMessageSeqNumApplied () const |
Protected Member Functions | |
InstrumentId | instrumentId () const |
Order Book. A set of bid prices and ask prices for the given security (bids are descending and asks are ascending). The quantity is provided at each price level.
Definition at line 195 of file OrderBook.h.
OrderBook | ( | ) |
|
inlinevirtual |
Destruction interface.
Definition at line 202 of file OrderBook.h.
|
inline |
Returns a set of descending bid prices for the given security.
Definition at line 333 of file OrderBook.h.
|
inline |
Definition at line 343 of file OrderBook.h.
|
inline |
Definition at line 348 of file OrderBook.h.
|
inline |
Returns a set of ascending ask prices for the given security.
Definition at line 338 of file OrderBook.h.
|
inline |
Indicates whether book has no bids & asks.
Definition at line 363 of file OrderBook.h.
|
inlineprotected |
Definition at line 353 of file OrderBook.h.
|
inline |
Returns Last Message Seq Num Applied to the Book.
Definition at line 369 of file OrderBook.h.
|
inline |
Symbol.
Definition at line 358 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.