#include <OnixS/B3/MarketData/UMDF/OrderBook.h>
Public Member Functions | |
InstrumentId | instrumentId () const throw () |
bool | empty () const noexcept |
ConstOrdersRange | asks () const noexcept |
ConstOrdersRange | bids () const noexcept |
Messaging::SeqNum | lastMessageSeqNumApplied () const noexcept |
Messaging::RptSeq | lastRptSeq () const noexcept |
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 |
OrderBook (const OrderBook &)=delete | |
OrderBook (OrderBook &&)=delete | |
OrderBook & | operator= (const OrderBook &)=delete |
Protected Member Functions | |
OrderBook (size_t depth, const Implementation::InstrumentRepository *instrumentRepository, InstrumentId id) | |
~OrderBook () | |
Protected Attributes | |
const size_t | depth_ |
const InstrumentId | id_ |
const Implementation::InstrumentRepository *const | instrumentRepository_ |
A set of bid and ask orders for the given security (bids are descending and asks are ascending).
Definition at line 295 of file OrderBook.h.
|
protected |
|
protected |
|
noexcept |
Returns a set of descending ask prices for the given security.
|
noexcept |
Returns a set of ascending bid prices for the given security.
|
noexcept |
Indicates whether book has no bids & asks.
|
inline |
Instrument Id.
Definition at line 299 of file OrderBook.h.
|
noexcept |
Returns the last processed packet sequence number of the incremental channel.
|
noexcept |
Returns the last processed RptSeq (sequence number per instrument update) for this instrument.
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.
|
protected |
Definition at line 346 of file OrderBook.h.
|
protected |
Definition at line 347 of file OrderBook.h.
|
protected |
Definition at line 348 of file OrderBook.h.