OnixS C++ Cboe CFE Multicast PITCH Market Data Handler  1.12.1
API documentation
OrderBook Class Referenceabstract

#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 PriceLevelsasks () const
 
const PriceLevelsbids () const
 
UInt32 lastMessageSeqNumApplied () const
 

Protected Member Functions

InstrumentId instrumentId () const
 

Detailed Description

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.

Constructor & Destructor Documentation

OrderBook ( )
virtual ~OrderBook ( )
inlinevirtual

Destruction interface.

Definition at line 202 of file OrderBook.h.

Member Function Documentation

const PriceLevels & asks ( ) const
inline

Returns a set of descending bid prices for the given security.

Definition at line 333 of file OrderBook.h.

bool bestAsk ( BinaryPrice price,
Quantity quantity 
) const
inline

Definition at line 343 of file OrderBook.h.

bool bestBid ( BinaryPrice price,
Quantity quantity 
) const
inline

Definition at line 348 of file OrderBook.h.

const PriceLevels & bids ( ) const
inline

Returns a set of ascending ask prices for the given security.

Definition at line 338 of file OrderBook.h.

bool empty ( ) const
inline

Indicates whether book has no bids & asks.

Definition at line 363 of file OrderBook.h.

InstrumentId instrumentId ( ) const
inlineprotected

Definition at line 353 of file OrderBook.h.

UInt32 lastMessageSeqNumApplied ( ) const
inline

Returns Last Message Seq Num Applied to the Book.

Definition at line 369 of file OrderBook.h.

StrRef symbol ( ) const
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.


The documentation for this class was generated from the following file: