|
ITCHCPP 1.6.0
High-Performance NASDAQ TotalView-ITCH 5.0 Parser & Market-Data Platform
|
Best-bid-offer microstructure metrics derived from the order book. More...
Include dependency graph for microstructure.hpp:Go to the source code of this file.
Namespaces | |
| namespace | itch |
| namespace | itch::analytics |
Functions | |
| auto | itch::analytics::spread (const book::Bbo &bbo) -> double |
| The bid-ask spread in price units, or NaN if either side is empty. | |
| auto | itch::analytics::mid_price (const book::Bbo &bbo) -> double |
| The mid price ((bid + ask) / 2), or NaN if either side is empty. | |
| auto | itch::analytics::queue_imbalance (const book::Bbo &bbo) -> double |
| Top-of-book queue imbalance in [-1, 1]. | |
| auto | itch::analytics::depth_at_level (const book::L3Book &book, book::Side side, std::size_t levels) -> std::uint64_t |
Total displayed shares within the best levels price levels of a side. | |
| auto | itch::analytics::order_flow_imbalance (const book::Bbo &previous, const book::Bbo ¤t) -> double |
| The order-flow imbalance between two consecutive BBO observations. | |
Best-bid-offer microstructure metrics derived from the order book.
Small, allocation-free functions that compute spread, mid price, queue imbalance, depth, and order-flow imbalance from Bbo/L3Book snapshots.
Definition in file microstructure.hpp.