|
Special Relativity in Financial Modeling 1.0.0
Lorentz transforms, spacetime classification, and geodesic price paths for quantitative finance
|
#include <lorentz_portfolio.hpp>
Public Member Functions | |
| double | sharpe () const noexcept |
| Sharpe ratio in this frame: ret / vol. Returns 0 if vol == 0. | |
Public Attributes | |
| double | ret = 0.0 |
| Annualised expected return (time-like component) | |
| double | vol = 0.0 |
| Annualised volatility (space-like) | |
| double | skew = 0.0 |
| Skewness (space-like, transverse) | |
| double | kurt = 0.0 |
| Excess kurtosis (space-like, transverse) | |
The "spacetime position" of a portfolio.
The four components map statistical moments to coordinates in financial spacetime. The first component (ret) plays the role of the time-like coordinate; vol, skew, kurt are space-like.
Definition at line 55 of file lorentz_portfolio.hpp.
|
inlinenoexcept |
Sharpe ratio in this frame: ret / vol. Returns 0 if vol == 0.
Definition at line 62 of file lorentz_portfolio.hpp.
| double srfm::portfolio::PortfolioFourVector::kurt = 0.0 |
Excess kurtosis (space-like, transverse)
Definition at line 59 of file lorentz_portfolio.hpp.
| double srfm::portfolio::PortfolioFourVector::ret = 0.0 |
Annualised expected return (time-like component)
Definition at line 56 of file lorentz_portfolio.hpp.
| double srfm::portfolio::PortfolioFourVector::skew = 0.0 |
Skewness (space-like, transverse)
Definition at line 58 of file lorentz_portfolio.hpp.
| double srfm::portfolio::PortfolioFourVector::vol = 0.0 |
Annualised volatility (space-like)
Definition at line 57 of file lorentz_portfolio.hpp.