20#include "fastmm/sim/md_source.hpp"
FeatureTable: book features and forward mid moves, one row per qualifying market-data event,...
Definition feature_table.hpp:22
FeatureTable extract_features(MdSource &source, const FeatureConfig &cfg={})
Reads source from its current position to the end.
std::vector< Duration > default_horizons()
kDefaultHorizonsNs as Durations.
Definition extractor.hpp:35
Duration subsample
Minimum spacing between rows of one instrument.
Definition extractor.hpp:43
std::vector< Duration > horizons
Forward horizons.
Definition extractor.hpp:38
bool sample_trades
Definition extractor.hpp:50
std::size_t imbalance_levels
Levels summed by fastmm::imbalance(). 1 is the touch, which is all a top-of-book feed shows.
Definition extractor.hpp:40
std::uint32_t instruments
Books kept. Events for a higher instrument id are counted and ignored.
Definition extractor.hpp:52
bool sample_book_updates
What emits a row.
Definition extractor.hpp:49
Definition feature_table.hpp:63