Special Relativity in Financial Modeling 1.0.0
Lorentz transforms, spacetime classification, and geodesic price paths for quantitative finance
Loading...
Searching...
No Matches
Namespaces
backtester.cpp File Reference

Implementation of the Backtester class. More...

#include "srfm/backtest.hpp"
#include "srfm/constants.hpp"
#include <cmath>
#include <span>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  srfm
 
namespace  srfm::backtest
 

Detailed Description

Implementation of the Backtester class.

The Backtester orchestrates:

  1. Lorentz signal correction via LorentzSignalAdjuster
  2. Strategy return construction (sign-following rule)
  3. Performance metric evaluation for both raw and relativistic strategies
  4. Side-by-side comparison via BacktestComparison

Definition in file backtester.cpp.