|
ITCH 5.0 Market Data Handler 1.0.0
NASDAQ ITCH 5.0 Market Data Feed Handler
|
Default traits for order book. More...
Default traits for order book.
Provides default type definitions for price, quantity, counters, and timestamps. Can be customized by providing alternative traits to Aggregator.
#include <core/src/Aggregator.h>
Public Types | |
| using | PriceType = std::int64_t |
| Price type (typically fixed-point). | |
| using | QtyType = std::uint64_t |
| Quantity type. | |
| using | CounterType = std::uint32_t |
| Order counter type. | |
| using | SideType = char |
| Side type ('B' or 'S'). | |
| using | Timestamp = std::uint64_t |
| Timestamp type (nanoseconds). | |
Static Public Member Functions | |
| static constexpr char | side2char (SideType s) |
| Convert side type to character. | |
| using b2bits::DefaultBookTraits::CounterType = std::uint32_t |
Order counter type.
| using b2bits::DefaultBookTraits::PriceType = std::int64_t |
Price type (typically fixed-point).
| using b2bits::DefaultBookTraits::QtyType = std::uint64_t |
Quantity type.
| using b2bits::DefaultBookTraits::SideType = char |
Side type ('B' or 'S').
| using b2bits::DefaultBookTraits::Timestamp = std::uint64_t |
Timestamp type (nanoseconds).
|
inlinestaticconstexpr |
Convert side type to character.
| s | Side value |