OnixS C++ eSpeed ITCH Market Data Handler 1.7.3
API documentation
Loading...
Searching...
No Matches
OrderBook.h File Reference

Go to the source code of this file.

Classes

struct  OrderInfo
struct  PriceLevel
struct  PriceLevelCollections
class  OrderBook

Typedefs

typedef std::vector< OrderInfoOrderInfos
typedef PriceLevelCollections::Array PriceLevels
typedef PriceLevelCollections::ArrayEntry PriceLevelsEntry
typedef PriceLevelCollections::ArrayConstEntry PriceLevelsConstEntry

Functions

const Price8getPrice (const PriceLevel &level)
bool isValid (const PriceLevel &level) ONIXS_ESPEED_ITCH_NOTHROW
ONIXS_ESPEED_ITCH_API std::ostream & operator<< (std::ostream &stream, const PriceLevel &value)
ONIXS_ESPEED_ITCH_API std::ostream & operator<< (std::ostream &stream, const OrderBook &book)
void checkSanity (const OrderBook &book)

Typedef Documentation

◆ OrderInfos

typedef std::vector<OrderInfo> OrderInfos

Definition at line 43 of file OrderBook.h.

◆ PriceLevels

Sequence of price levels.

Definition at line 134 of file OrderBook.h.

◆ PriceLevelsConstEntry

Iterator over read-only collection of price levels.

Definition at line 140 of file OrderBook.h.

◆ PriceLevelsEntry

Iterator to access price levels with write permissions.

Definition at line 137 of file OrderBook.h.

Function Documentation

◆ checkSanity()

void checkSanity ( const OrderBook & book)

checks whether the given book is properly built

◆ getPrice()

const Price8 & getPrice ( const PriceLevel & level)

◆ isValid()

bool isValid ( const PriceLevel & level)

◆ operator<<() [1/2]

ONIXS_ESPEED_ITCH_API std::ostream & operator<< ( std::ostream & stream,
const OrderBook & book )

◆ operator<<() [2/2]

ONIXS_ESPEED_ITCH_API std::ostream & operator<< ( std::ostream & stream,
const PriceLevel & value )