|
Special Relativity in Financial Modeling 1.0.0
Lorentz transforms, spacetime classification, and geodesic price paths for quantitative finance
|
Lorentz Portfolio Transformation — Round 4 public API. More...
#include "srfm/types.hpp"#include "srfm/constants.hpp"#include <cmath>#include <optional>#include <stdexcept>Go to the source code of this file.
Classes | |
| struct | srfm::portfolio::PortfolioFourVector |
| struct | srfm::portfolio::LorentzFactor |
| class | srfm::portfolio::LorentzBoost |
| class | srfm::portfolio::PortfolioInvariant |
| class | srfm::portfolio::OptimalBoost |
Namespaces | |
| namespace | srfm |
| namespace | srfm::portfolio |
Lorentz Portfolio Transformation — Round 4 public API.
Interprets a portfolio's statistical moments as a 4-vector in financial spacetime: (return, volatility, skewness, kurtosis). A Lorentz boost along the return-volatility plane simulates the effect of "moving" the portfolio to a different reference frame — useful for stress-testing how Sharpe ratios transform under regime shifts.
where γ = 1/√(1 - β²).
This scalar is invariant under all boosts — i.e. I == I' for any β.
The analogy follows the 4-vector formalism in Special Relativity: x^μ = (ct, x, y, z) → (ret, vol, skew, kurt)
Definition in file lorentz_portfolio.hpp.