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

Implementation of PerformanceCalculator and LorentzSignalAdjuster. More...

#include "srfm/backtest.hpp"
#include "srfm/constants.hpp"
#include <algorithm>
#include <cmath>
#include <fmt/format.h>
#include <numeric>
#include <span>

Go to the source code of this file.

Namespaces

namespace  srfm
 
namespace  srfm::backtest
 

Detailed Description

Implementation of PerformanceCalculator and LorentzSignalAdjuster.

All math is documented inline. Fallible paths return std::nullopt; no function ever calls abort(), assert(), or throws an exception.

Definition in file performance_metrics.cpp.