Skip to content

DaruFinance/quant-surface-stability

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quant-surface-stability

Pre-registered empirical study of the claim:

"Smooth, broad ridges mean the family has a stable performance basin under perturbation of its parameters. Sharp spikes flanked by collapse mean the family is brittle — its in-sample peaks are likely overfit rather than real."

The pre-registration in analysis-plan.md is hash-locked at first commit; any deviation in the executed analysis is reported as exploratory.

Layout

analysis-plan.md           # locked pre-registration
analysis-plan-locked.md    # post-pilot hyperparameter lock (created after SOL pilot)
src/parse_corpus.rs        # Rust parser: per-strategy .txt → parquet
scripts/compute_metrics.py # σ and R metrics on parsed parquet
scripts/fit.py             # mixed-effects + permutation null
data/                      # parquet outputs (gitignored)
figures/                   # final figures

Reproducibility

# Parse SOL (pilot)
cargo run --release --bin parse_corpus -- --asset SOL_1h_7W

# Pilot analysis
python3 scripts/compute_metrics.py --asset SOL_1h_7W
python3 scripts/fit.py --pilot

# After hyperparameter lock:
cargo run --release --bin parse_corpus -- --asset DOGE_30m_21W
cargo run --release --bin parse_corpus -- --asset BTC_30m_27W
python3 scripts/compute_metrics.py --asset DOGE_30m_21W
python3 scripts/compute_metrics.py --asset BTC_30m_27W
python3 scripts/fit.py --replication

About

Pre-registered empirical study of whether in-sample Sharpe-surface smoothness (σ_micro under the perturbation suite) predicts next-window OOS Sharpe. Pilot SOL → replicate DOGE+BTC. Result: H₀ retained at the population level; ATR is the only family with consistent within-family support.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors