|
FastMM C++ API 0.14.0
Public headers, tier 1 and tier 2
|
Files | |
| ab_report.hpp | |
| The readout of an [ab] test (fastmm-data ab), from the journals of the live sessions or backtests that ran it. | |
| array_source.hpp | |
| ArraySource: zero-copy structure-of-arrays input, the numpy path of the Python bindings (8.5). | |
| backtest_config.hpp | |
| BacktestConfig: everything a run needs, assembled from the TOML sections [engine] [[instruments]] [strategy] [strategy.params] [risk] [venues. | |
| backtest_runner.hpp | |
| BacktestRunner (8.4): wires Engine<S, SimClock, SimTransport, InlineFeed> to a SimDriver and collects a BacktestResult. | |
| csv_source.hpp | |
CsvSource: hand-rolled parser for the row format documented in data_source.hpp (ts_ns,type,inst,side,price,qty,seq, optional header line, '#' comments). | |
| data_source.hpp | |
| DataSource (8.4): a timestamp-ordered stream of normalized market-data events consumed by the simulator. | |
| fee_model.hpp | |
| Fees are charged by the simulated venue, so the model lives in fastmm::sim; the backtest exposes it under its own namespace for configuration and reporting. | |
| journal_source.hpp | |
| JournalSource: market-data events of an .fmj journal (BookDelta / BookSnapshot / Trade / BookTicker records, in sequence order). | |
| live_analysis.hpp | |
| What a live session's fills were worth, from its journal alone (fastmm-data analyze): per instrument and overall, the fills, maker share and traded notional, the spread they captured against the venue mid and their markouts and adverse selection at each horizon (markout.hpp), next to the order traffic. | |
| markout.hpp | |
| Post-fill markouts: the metric that separates spread captured from adverse selection. | |
| metrics.hpp | |
| Metrics (8.4) computed from the result rows: equity bars (1 s by default) and fills, and the orders' OrderStats. | |
| replay.hpp | |
| Deterministic replay (5.11): runs Engine<S, SimClock, ReplayTransport, JournalFeed> over a session journal recorded by fastmm-live, a sim or a backtest run (BacktestConfig::journal_out) and proves that the engine reproduces the recorded outbound stream bit for bit. | |
| result.hpp | |
| BacktestResult (8.4): structure-of-arrays rows (numpy-friendly: each column is one contiguous vector) plus the summary Metrics and the raw counters of every component. | |
| sweep.hpp | |
| Parameter sweep (8.4/8.5): a list of points, or the cartesian grid that expands to one, over strategy parameters and backtest settings, run on a std::jthread pool; every worker owns its own data cursor (source_factory) and backend, results come back in the points' order (a grid's first parameter varies slowest). | |
| synthetic_source.hpp | |
| SyntheticSource: a MarketGenerator run against its own MatchingEngine, published through MdAggregator as a plain market-data stream (snapshot, 100 ms depth batches, trades, book tickers). | |