75 [[nodiscard]]
static std::optional<BetaVelocity>
88 [[nodiscard]]
static std::optional<BetaVelocity>
89 fromReturn(
double period_return,
double max_return)
noexcept;
107 [[nodiscard]]
static std::optional<BetaVelocity>
111 double time_delta)
noexcept;
142 [[nodiscard]]
static std::optional<std::vector<BetaVelocity>>
144 double time_delta)
noexcept;
160 [[nodiscard]]
static std::optional<double>
161 meanAbsVelocity(std::span<const double> prices,
double time_delta)
noexcept;
201 [[nodiscard]]
static std::optional<double>
203 double effective_mass,
215 [[nodiscard]]
static std::optional<double>
static std::optional< double > meanAbsVelocity(std::span< const double > prices, double time_delta) noexcept
static std::optional< BetaVelocity > fromReturn(double period_return, double max_return) noexcept
static bool isRelativistic(BetaVelocity beta) noexcept
static std::optional< BetaVelocity > fromRollingWindow(std::span< const double > prices, std::size_t window, double max_velocity, double time_delta) noexcept
static std::optional< double > kineticEnergy(BetaVelocity beta, double effective_mass, double c_market=constants::SPEED_OF_INFORMATION) noexcept
static std::optional< BetaVelocity > fromPriceVelocity(double price_velocity, double max_velocity) noexcept
static bool isNewtonian(BetaVelocity beta) noexcept
static std::optional< std::vector< BetaVelocity > > fromPriceVelocityOnline(std::span< const double > prices, double time_delta) noexcept
static std::optional< double > dopplerFactor(BetaVelocity beta) noexcept
static BetaVelocity clamp(double raw_beta) noexcept
static bool isValid(BetaVelocity beta) noexcept
Return true if β is in the valid safe range (|β| < BETA_MAX_SAFE).
Physical and financial constants for the SRFM system.
static constexpr double SPEED_OF_INFORMATION
Shared primitive types for the Special Relativity in Financial Modeling (SRFM) system.