|
Special Relativity in Financial Modeling 1.0.0
Lorentz transforms, spacetime classification, and geodesic price paths for quantitative finance
|
Orchestrates the full relativistic signal-processing pipeline. More...
#include <engine.hpp>
Public Member Functions | |
| Engine (EngineConfig config=EngineConfig{}) | |
| Construct with optional configuration. | |
| std::optional< backtest::BacktestComparison > | run_backtest (std::span< const OHLCV > bars) const noexcept |
| std::optional< PipelineBar > | process_stream_bar (const OHLCV &bar) noexcept |
| void | reset_stream () noexcept |
| Reset streaming state (clear internal bar window). | |
| std::span< const OHLCV > | stream_window () const noexcept |
| Return a read-only view of the current streaming bar window. | |
Orchestrates the full relativistic signal-processing pipeline.
Definition at line 88 of file engine.hpp.
|
explicit |
Construct with optional configuration.
Definition at line 20 of file engine.cpp.
|
noexcept |
Process a single bar in streaming mode, updating internal rolling state.
Returns the PipelineBar result for the just-processed bar, or nullopt if the internal window has fewer than 2 bars (warm-up phase).
Definition at line 84 of file engine.cpp.
|
noexcept |
Reset streaming state (clear internal bar window).
Definition at line 146 of file engine.cpp.
|
noexcept |
Run a complete backtest on a sequence of OHLCV bars.
nullopt if fewer than config.min_bars bars provided, fewer than MIN_RETURN_SERIES_LENGTH returns result (N bars give N - 1 returns), or any downstream computation is numerically degenerate.
Definition at line 27 of file engine.cpp.
|
noexcept |
Return a read-only view of the current streaming bar window.
Definition at line 152 of file engine.cpp.