meta optuna blend
What it checks
Per-ticker Optuna-learned blend weights with CPCV + MC + DSR gating. Instead of equal-weighting the top-3 strategies, an optimizer searches over how many to blend, which to pick, how much weight to give each, what regime to fire in, and when to kill the position on a drawdown — only persisting blends that survive cross-validation, permutation testing, and the deflated-Sharpe penalty for the trial count.
Mechanism
The existing top-K blenders (auto-blend, alpha-v2-blend, alpha-v2-blend-v2, ensemble, ensemble-v2, ensemble-v3-freq) all do rule-based component selection (top-K=3 by cup_tier/sharpe, equal-weight). Per ticker we typically have 30-150 discovered strategy_experiments rows with retained _position_series — an Optuna study can learn (K, rank-metric, Dirichlet weights, regime gate, drawdown kill-switch) directly against the BLENDED OOS objective. Gates: 6-fold CPCV with 2-day embargo, 500-shuffle MC permutation on the SYNTHETIC series (the missing check in current blenders), DSR penalty for trial count, and n_trades >= 20. Trial that fails any gate returns -inf; only winners persist as user_strategies rows competing in the picker pool.
Signal rule
Optuna TPE multivariate (n_trials=80, n_startup=20, seed=42 deterministic per ticker) over {K in {2,3,5,8}, rank_metric in {cup_tier_sharpe,dsr,holdback_sharpe,cpcv_sharpe}, w_i Dirichlet (sum=1), regime_mask in {all,bull,bear,low_vol,high_vol}, drawdown_kill_pct in {0,0.05,0.10,0.15}}. Objective = holdback Sharpe of synthetic position series, DSR-adjusted by n_trials.Data dependencies
daily_pricesAdjusted-close OHLCV for every US-listed ticker; primary price feed.
strategy_experimentsWorker data table — see services/worker schema.
market_regime_dailyWorker data table — see services/worker schema.
Expected edge
- Paper window
- Per-ticker holdback (last ~252 bars)
Learned blend weights with statistically-validated synthetic series should dominate equal-weight top-K on Sharpe and DSR — the rule-based blenders have never MC-tested their synthesized series.
Related families
meta equal weightMetaDeMiguel-Garlappi-Uppal (2009, RFS) "Optimal vs Naive Diversification" shows 1/N portfolio weighting is shockingly hard to beat out-of-sample once you account for estimation error in fancy optimization. We apply this at the alpha-family level: K=5 canonical sub-signals (SMA50/200 cross, RSI(14) mean-reversion, 20d-high breakout, 1m-vs-12m TSMOM-lite, 5d return reversion), each returns {-1, 0, +1}, the meta position is the mean clipped to [-1, +1] — buy when ≥3/5 agree long, short when ≥3/5 agree short.
meta hrpMetaLopez de Prado 2016 introduces HRP as a quasi-optimal allocator that avoids the unstable matrix-inversion at the core of mean-variance. HRP delivers higher Sharpe out-of-sample than 1/N (DeMiguel-Garlappi-Uppal 2009) and minimum-variance, especially when asset count grows. Recipe: correlation matrix → distance matrix → single-linkage hierarchical clustering → quasi-diagonalization → recursive bisection inverse-variance allocation. Applied here over the K=5 canonical sub-signals (same set as meta_equal_weight) for head-to-head HRP-vs-1/N comparison on every ticker.
ensembleMetaTwo-lane allocator that combines the Sharpe-weighted top-K from the TA-strategy bench (RSI/MACD/Bollinger/etc., 22 components) with the Sharpe-weighted top-K from the alpha-family bench (91 components, diversity-guarded). Each lane independently produces a blended position series; the allocator combines them with weight w_A (TA) + w_B (alpha) = 1, default 0.50/0.50. Reduces signal-specific failure modes by averaging over heterogeneous information sources at the same execution layer — TA captures price-pattern alpha, alpha-families capture event/fundamental/sentiment alpha, and the ensemble harvests both. Surfaces when neither bench produces a dominant single-strategy champion (cup_tier ≥ 2). On the May 2026 true-struggling cohort (46 tickers, no source cup_tier > 1) the ensemble + per-bench blends lifted cup_tier by an average of +1.43 levels on 65% of (ticker, profile) pairs.
champion overlayMetaTake this ticker's most recent user_strategies champion, replay its base position from the recorded indicator templates, then apply each Alpha Discovery V2 overlay filter on top: low-vol regime, earnings blackout, low FINRA short-pct, VIX contango, SPY uptrend, sector uptrend. Goal: surface cases where the existing champion would benefit from a regime/event/flow filter that the old finder doesn't apply.
Explore meta optuna blend on alphactor.ai
See which tickers this family is currently firing on, with live signals and rankings.