mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-11-29 00:15:11 +00:00
docs: mark M3a V1 implemented
This commit is contained in:
@@ -8,19 +8,18 @@ stochastic volatility, regime detection, and cross-asset correlation**. The math
|
||||
**stochastic sample paths**, not behavioral agents.
|
||||
|
||||
## 2. Status / certainty
|
||||
SUBSTANTIAL ENGINE IMPLEMENTED · R. `core/src/economy/sims/statistical/engine.R`
|
||||
now implements GBM, Merton jump-diffusion, full-truncation Heston simulation, GARCH(1,1) QMLE,
|
||||
three-state Gaussian HMM training + Viterbi decoding, Davies–Harte fractional Gaussian noise,
|
||||
rough-volatility paths with estimated Hurst exponent, fitted DCC dynamic correlation, t-copula
|
||||
tail-dependence with degrees-of-freedom estimation, conjugate Bayesian return calibration,
|
||||
base-R ARIMA forecasting, historical VaR/Expected Shortfall, jump-intensity estimation, fitted
|
||||
Heston proxy parameters including rho, cross-asset calibration, and six concurrent bounded
|
||||
forecast horizons. A Tcl runner provides tested `M2 price_tick → R M3a → M3 hub → Marketplace`
|
||||
integration. Native R CI and the boundary integration suite are green. Remaining research-depth
|
||||
work is Heston characteristic-function/option-surface calibration, richer rough-vol parameter
|
||||
estimation, historical backtest calibration of the three quality scores, and live multi-source
|
||||
M2 adapters beyond normalized price history. Core methods C4/C5; implementation C3;
|
||||
live-market parameterization remains C1/C2.
|
||||
IMPLEMENTED · M3a V1 · R. `core/src/economy/sims/statistical/engine.R` now
|
||||
implements the complete V1 statistical stack: GBM, Merton jump-diffusion, full-truncation Heston
|
||||
simulation, GARCH(1,1) QMLE, three-state Gaussian HMM training + Viterbi decoding,
|
||||
Davies–Harte fractional Gaussian noise and fitted rough volatility, fitted DCC dynamic
|
||||
correlation, t-copula tail dependence with degrees-of-freedom estimation, conjugate Bayesian
|
||||
return calibration, base-R ARIMA forecasting, historical VaR/Expected Shortfall, jump-intensity
|
||||
estimation, Heston characteristic-function option pricing + surface calibration, empirical
|
||||
walk-forward confidence/correctness/certainty scoring, and six concurrent bounded forecast
|
||||
horizons. All seven declared prediction types are implemented. A Tcl runner provides tested
|
||||
`M2 price_tick + dex_pool_state → R M3a → M3 hub → Marketplace` integration. Native R CI and
|
||||
the boundary integration suite are green. Core methods C4/C5; implementation C3; live-market
|
||||
parameterization remains data-dependent rather than hardcoded.
|
||||
|
||||
## 3. Language & location
|
||||
**R 4.x** (apt `r-base-core`) · `src/economy/sims/statistical/`. Vital CRAN packages only:
|
||||
@@ -73,10 +72,13 @@ the Hub stdin/stdout protocol is hand-rolled.
|
||||
- Calibration: ingests `price_tick` and `dex_pool_state` from M2 Data Feeds.
|
||||
|
||||
## 6. Dependencies & stubs
|
||||
- M2 Data Feeds — normalized `price_tick` history is now consumed by the Tcl→R
|
||||
integration path; RSS and DEX-pool cross-source calibration remain open.
|
||||
- M3 Sims hub — M3a predictions are now published into the live hub and subsequently queried by
|
||||
Traders through Marketplace.
|
||||
- M2 Data Feeds — normalized `price_tick` and `dex_pool_state` histories are consumed by
|
||||
the Tcl→R calibration path. Pool observations contribute liquidity-weighted reference price,
|
||||
dispersion, basis, and certainty calibration.
|
||||
- M3 Sims hub — typed M3a predictions are published as bounded scalar predictions. Categorical
|
||||
regime state is carried as a label plus a bounded posterior probability; correlation matrices
|
||||
retain the matrix as detail while the bounded scalar value is the mean off-diagonal
|
||||
correlation, preserving the hub's scalar-bound invariant.
|
||||
|
||||
## 7. Invariants / laws
|
||||
- **L1 (C5):** bounds are **statistical confidence intervals** — derived from the model's
|
||||
@@ -114,9 +116,14 @@ synthetic regime-switching data. Copula: tail dependence captured (BTC crash →
|
||||
correlation spike). Jump-diffusion: fat tails reproduced. Calibration: new data shifts parameter
|
||||
estimates. Multi-horizon: all six horizons produce concurrent outputs.
|
||||
|
||||
## 10. Open items
|
||||
- Heston calibration method (characteristic function inversion? particle filter?).
|
||||
- Rough vol computational cost (fBM generation is O(N²) naively; FFT methods needed).
|
||||
- HMM state count (3 sufficient? 4+ for crypto with "mania" regime?).
|
||||
- Which copula family for tail dependence ($t$-copula? Clayton? Joe?).
|
||||
- Computational budget per horizon (GPU for Monte Carlo paths?).
|
||||
## 10. V1 decisions and future extensions
|
||||
- **Heston calibration:** resolved with characteristic-function inversion and numerical
|
||||
option-surface calibration; realized-price proxy calibration remains available when no option
|
||||
surface exists.
|
||||
- **Rough-vol cost:** resolved with Davies–Harte circulant embedding / FFT rather than the
|
||||
O(N²) naive generator.
|
||||
- **HMM states:** three states (bear / neutral / bull) are canonical for V1. A fourth "mania"
|
||||
state is an optional future experiment, not a V1 dependency.
|
||||
- **Tail copula:** Student-t copula is canonical for V1, with fitted degrees of freedom.
|
||||
- **Compute budget:** Monte Carlo path count is explicit per query and CPU-native in V1.
|
||||
GPU acceleration is an optional optimization; it is not required for correctness.
|
||||
|
||||
Reference in New Issue
Block a user