92 [[nodiscard]] std::string
to_string()
const;
115 [[nodiscard]] std::string
to_string()
const;
128 void push(
double price)
noexcept;
131 [[nodiscard]]
double mean() const noexcept;
134 [[nodiscard]]
double stddev() const noexcept;
177 [[nodiscard]] std::optional<HawkingTemperature>
178 update(
double close)
noexcept;
181 void reset() noexcept;
185 return state_.
window.size();
192 bool has_prev_z_{
false};
219 [[nodiscard]] std::optional<HawkingSignal>
220 update(
double close)
noexcept;
223 void reset()
noexcept;
233 [[nodiscard]]
static double strength(
double temperature)
noexcept;
261 [[nodiscard]] std::string
to_string()
const;
290 [[nodiscard]] std::optional<HawkingBacktestResult>
291 run(std::span<const core::OHLCV> bars)
const noexcept;
Relativistic Backtester — AGT-05 public API.
Orchestrates the full relativistic signal-processing pipeline.
std::optional< HawkingBacktestResult > run(std::span< const core::OHLCV > bars) const noexcept
void reset() noexcept
Reset internal state.
std::optional< HawkingSignal > update(double close) noexcept
void reset() noexcept
Reset the internal rolling state (e.g. at session boundaries).
std::optional< HawkingTemperature > update(double close) noexcept
std::size_t window_fill() const noexcept
Return current window fill level (0 → full).
Core Integration Engine — AGT-06 public API.
constexpr std::size_t DEFAULT_BB_WINDOW
Default Bollinger Band window (bars).
const char * to_string(HawkingDirection d) noexcept
Return a human-readable string for a HawkingDirection value.
constexpr double HAWKING_HOT_THRESHOLD
T_H above this → "hot" → reversal signal.
constexpr double HAWKING_COLD_THRESHOLD
T_H below this → "cold" → continuation signal.
HawkingDirection
Trading signal derived from Hawking temperature.
@ Reversal
T_H high → trend exhaustion → fade the move.
@ Neutral
Temperature in the normal range → no signal.
@ Continuation
T_H low → healthy trend → follow the trend.
constexpr double DEFAULT_BB_SIGMA
Default Bollinger Band multiplier for outer band (σ-multiple).
Configuration parameters for the core engine.
Internal rolling state for Bollinger Band computation.
std::vector< double > window
Rolling price window (oldest first).
double stddev() const noexcept
Return the rolling standard deviation (population σ).
double sum
Running sum for fast mean.
double sum_sq
Running sum of squares for fast σ.
void push(double price) noexcept
Push a new price and pop the oldest if window is full.
double mean() const noexcept
Return the rolling mean (NaN-safe).
bool full() const noexcept
True iff window has reached its maximum size.
Comparison of Hawking-signal strategy vs the existing TIMELIKE classifier.
backtest::PerformanceMetrics hawking_metrics
Performance of the Hawking temperature signal strategy.
double sharpe_improvement() const noexcept
Improvement in Sharpe: hawking − timelike.
std::string to_string() const
Format a one-line human-readable summary.
double signal_coverage
Fraction of bars where the Hawking signal was non-neutral.
double mean_temperature
Mean |T_H| across all bars with a non-neutral signal.
backtest::PerformanceMetrics timelike_metrics
Performance of the TIMELIKE (standard relativistic) strategy.
A single bar's Hawking-derived trading signal.
std::string to_string() const
Format a compact one-liner for logging.
int action
+1 (buy), -1 (sell), 0 (neutral).
HawkingDirection direction
Trading implication.
HawkingTemperature temperature
Full temperature measurement.
double strength
|T_H| normalized to [0, 1].
double delta_z
Change in z-score from previous bar.
double temperature
T_H = z × Δz.
double bollinger_std
Rolling σ
double bollinger_mean
Rolling μ
std::string to_string() const
Format a compact one-liner for logging.
bool near_horizon
|z_score| ≥ bb_sigma
double z_score
(P − μ) / σ
Configuration for the Bollinger Band event horizon detector.
double bb_sigma
Band multiplier: outer band = μ ± bb_sigma × σ.
std::size_t bb_window
Rolling window size for Bollinger Band mean and std dev.
double hot_threshold
T_H threshold above which "near horizon" is signalled.
double cold_threshold
T_H threshold below which "cold" (continuation) is signalled.