|
Special Relativity in Financial Modeling 1.0.0
Lorentz transforms, spacetime classification, and geodesic price paths for quantitative finance
|
Causal Cone Filter — light-cone analogue for financial time series. More...
#include "srfm/manifold.hpp"#include "srfm/backtest.hpp"#include "srfm/engine.hpp"#include <optional>#include <span>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| struct | srfm::causal::CausalHistory |
| struct | srfm::causal::CausalSignal |
| class | srfm::causal::CausalConeFilter |
| struct | srfm::causal::CausalConeFilter::Config |
| Configuration for the causal cone filter. More... | |
| struct | srfm::causal::CausalBacktestResult |
| Comparison of CausalSignal-based strategy vs all-bars baseline strategy. More... | |
| class | srfm::causal::CausalBacktest |
Namespaces | |
| namespace | srfm |
| namespace | srfm::causal |
Causal Cone Filter — light-cone analogue for financial time series.
In special relativity, an event B is causally influenced by event A only if A lies within the past light cone of B — i.e. the spacetime interval ds²(A→B) < 0 (TIMELIKE). Events outside the light cone (SPACELIKE) cannot causally affect B.
This module applies the same logic to financial OHLCV bars:
ds²(A, B) < 0 (TIMELIKE or near-LIGHTLIKE) in the embedded financial spacetime.Signals computed exclusively from causally-connected bars should exhibit higher predictive accuracy because they exclude market noise that arrived at speeds inconsistent with the bar's causal past.
CausalHistory — the causal predecessors of one barCausalConeFilter — scans a bar sequence and builds causal historiesCausalSignal — a feature vector built only from causal predecessorsCausalBacktest — compares CausalSignal vs all-bars signal on a datasetnoexcept where no allocation can failconst&std::optional for all fallible operationsDefinition in file causal_cone.hpp.