|
Special Relativity in Financial Modeling 1.0.0
Lorentz transforms, spacetime classification, and geodesic price paths for quantitative finance
|
N-dimensional spacetime interval between two MultiAssetEvents. More...
#include <multi_asset.hpp>
Public Types | |
| using | IntervalType = srfm::manifold::IntervalType |
Static Public Member Functions | |
| static std::optional< double > | compute (const MultiAssetEvent &a, const MultiAssetEvent &b, const Eigen::MatrixXd &metric) noexcept |
| Compute ds² between two N-asset spacetime events. | |
| static IntervalType | classify (double ds2) noexcept |
| Classify a pre-computed ds² value. | |
| static std::optional< std::pair< double, IntervalType > > | compute_and_classify (const MultiAssetEvent &a, const MultiAssetEvent &b, const Eigen::MatrixXd &metric) noexcept |
| Compute and classify in one call. | |
Static Public Attributes | |
| static constexpr double | kLightlikeEps = srfm::manifold::LIGHTLIKE_THRESHOLD |
| Threshold for LIGHTLIKE classification. | |
N-dimensional spacetime interval between two MultiAssetEvents.
The metric tensor g_μν is:
g_00 = −c_market² (time-time, negative signature) g_0i = 0 (no time-space cross-terms) g_ij = Σ_ij (price-price block: correlation-scaled covariance)
where Σ_ij = ρ_ij · σ_i · σ_j is the rolling covariance matrix.
ds² < -LIGHTLIKE_EPS → TIMELIKE (causal, correlated joint motion) |ds²| ≤ LIGHTLIKE_EPS → LIGHTLIKE (critical boundary) ds² > +LIGHTLIKE_EPS → SPACELIKE (stochastic, decorrelated motion)
Definition at line 85 of file multi_asset.hpp.
Definition at line 87 of file multi_asset.hpp.
|
staticnoexcept |
Classify a pre-computed ds² value.
Definition at line 83 of file multi_asset.cpp.
|
staticnoexcept |
Compute ds² between two N-asset spacetime events.
| a | First event (earlier in time). |
| b | Second event (later in time). |
| metric | The (N+1)×(N+1) Lorentzian metric tensor g_μν. |
Definition at line 58 of file multi_asset.cpp.
|
staticnoexcept |
Compute and classify in one call.
Definition at line 90 of file multi_asset.cpp.
|
staticconstexpr |
Threshold for LIGHTLIKE classification.
Definition at line 90 of file multi_asset.hpp.