|
FastMM C++ API 0.14.0
Public headers, tier 1 and tier 2
|
Builds messages from a row stream. Provider is bool(Row&) returning false at end.
More...
#include <fastmm/backtest/data_source.hpp>
Public Member Functions | |
| RowAssembler (VenueId venue=VenueId{0}) noexcept | |
| template<class Provider > | |
| const EventHeader * | next (Provider &&provide) |
| void | reset () noexcept |
Builds messages from a row stream. Provider is bool(Row&) returning false at end.
|
inline |
Each row fills its own side; a side with no row of this (ts, inst) is empty.
Collect bids and asks of the same (ts, inst, seq, type) group. A snapshot keeps the first kMaxLevels rows of a side; a delta that has more ends its message there and the rest of the group follows in the next one, so no level change is lost.
< row_ stays buffered (have_row_ == true)
< likewise
|
inlinenoexcept |