Communitygithub.com

austin-starks/Public-Portfolio-Challenge

Der einmal berührbare Tresor – eine finale Anti-Overfitting-Haltebuchse, die nach dem Design-Freeze genau einmal auf einem Fenster ausgeführt wird, das aus jeder Falte, jedem Sweep und jeder Suche herausgehalten wurde.

Was ist Public-Portfolio-Challenge?

Dieses Skill definiert die ‚Single-Touch Lockbox‘ – eine letzte, unberührte Haltebuchse, die nach dem Design-Freeze (Stufe S2) genau einmal auf einem 126-Tage-Fenster ausgeführt wird, das aus allen Faltungen, Sweeps und Suchvorgängen ausgeschlossen bleibt. Es verhindert Kalender-Fit-Selektion, indem es die Lockbox-Ergebnisse als finalen Gate-Test behandelt: Ein Fehlschlag bedeutet keinen Deploy, es sei denn, ein expliziter Owner-Override wird protokolliert. Zusätzlich definiert der Skill drei Baselines (A/B/C) als OOS-Bars in Stufe S1: Buy-and-Hold (nur Rendite), naive LEAP-Leiter (nur Sortino bei ausreichender Breite) und einen eingefrorenen, publizierten Vergleichswert, der nicht nachträglich verbessert werden darf. Stufe S1.5 implementiert eine deterministische Auto-Relaxation für Baseline B, wenn deren Deployment-Budget die Posture-Obergrenze von 55% übersteigt – ohne Owner-Entscheidung, um Vergleichbarkeit herzustellen. Das Skill ist für agentengestützte Backtest-Pipelines konzipiert, die auf Walk-Forward-Analyse und strukturierten Modellentscheidungen basieren.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/austin-starks/Public-Portfolio-Challenge/tree/HEAD/skills/lockbox-holdout

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Single-Touch Lockbox & Baselines

Die Lockbox ist eine finale Haltebuchse, die keine Falte, kein Sweep und keine Suche jemals berührt – die letzte Verteidigungslinie gegen Kalender-Fit-Selektion. Sie ist unterschieden von den Walk-Forward-OOS-Falten (walk-forward-oos), die während der Suche wiederholt verwendet werden; die Lockbox wird genau einmal berührt.

Die Lockbox

  • Was: Der Walk-Forward-Bereich endet lockbox_width_days = 126 (~6 Monate) vor dem Ausführungsdatum. Dieses letzte Fenster (Ausführungsdatum − 126d) → Ausführungsdatum ist die Lockbox – von ALLEN Falten, ALLEN Sweeps, ALLER Suche ferngehalten.
  • Wie: Nur das zusammengestellte Deploy-fähige Buch, das bereits jedes Gate auf dem Walk-Forward-Aggregat bestanden hat, wird über die Lockbox ausgeführt, genau einmal, nach dem Design-Freeze (Stufe S2).
  • Passbedingungen (eingefroren auf S0, nicht ändern nach dem Betrachten der Ergebnisse):
    • Rendite der Lockbox OOS ≥ Rendite der schlechtesten Einzelfalte Walk-Forward OOS;
    • Lockbox maxDD ≤ 55%;
    • Posture sauber (audit_backtest_posture, alle vier Bedingungen);
    • Breite ≥ 9 berechtigte Namen (audit_backtest_breadth – siehe breiten-audit).

Single-Touch ist absolut

Wenn Sie die Lockbox betrachten und dann das Design iterieren, ist die Lockbox verbrannt – verschieben Sie den Walk-Forward-Bereich zurück und halten Sie einen frischen Endbereich heraus, bevor Sie deployen. Ein Lockbox-Fehlschlag wird als Kalender-Fit-Selektion behandelt und bedeutet kein Deploy, es sei denn durch einen protokollierten Owner-Override, der die Lockbox explizit nennt.

Die drei Baselines (A/B/C) als OOS-Balken (Stufe S1)

Geladen aus festgeschriebenen snapshots/*.json über create_portfolio. Bewerten Sie A und B auf der aktuellen Engine; kopieren Sie C's eingefrorene veröffentlichte Zahlen als zu schlagenden Balken.

  • A – Equity Buy&Hold (das gesamte Universum). Ein Rendite-Balken nur, niemals ein Sortino-Balken – sein Sortino spiegelt eine Glätte einer Aktienrallye wider, die ein gehebeltes Long-Prämien-Buch nicht erreichen kann.
  • B – Naive LEAP-Leiter (kanonische Spezifikation: alle Namen, kein Ranking/Filter, 14-Tage-Rhythmus, 8% des Portfolios pro Name unter 95% Budget, Struktur = erste bezahlbare Sprosse von [Δ0,50 Call → Δ0,55/0,25 → Δ0,55/0,40 → Δ0,50/0,42 Vertical], alle 180–365 DTE, einfacher Ausstieg bei DTE ≤ 45). Ein Sortino-Balken nur in Falten mit ≥ 9/20 Breite.
  • C – Eingefrorener Incumbent-Balken mit veröffentlichten OOS-Zahlen pro Falte, wörtlich kopiert (nicht neu ausführen, um sie zu "verbessern").

S1.5 – Gate-Kohärenz Auto-Relaxation (deterministisch, kein Owner-Roundtrip)

Prüfen Sie vor dem Design, ob "Baseline B schlagen" und die ≤55%-Posture-Obergrenze gemeinsam erfüllbar sind – B ist ein ~95%-Deployed-Buch, daher kann ein Posture-begrenzter Finalist es nicht übertreffen. Wenn nicht erfüllbar, AUTO-RELAX Baseline B: Reduzieren Sie B's totalBudget, bis sein eigener medianer Tageseinsatz ≤55% beträgt, führen Sie seine S1-Bewertung erneut aus, und protokollieren Sie Original vs. Posture-angepasstes B. Dies ist keine Gate-Lockerung und keine Owner-Entscheidung – nur der Benchmark wird vergleichbar gemacht; die Schwellen bleiben eingefroren.

Individual skills in this repo

This repo contains 11 individual skills — each has its own dedicated page.

austin-starks/Public-Portfolio-Challenge

Build alternative-data custom indicators on NexusTrade (Reddit/WSB mentions, congressional disclosures, insider filings, news-flow) and wire them into a certified book as a rank/tilt/filter signal. Use when adding alt-data to a strategy, building a CustomIndicator via compute sessions, auditing lookahead safety or per-ticker coverage, or deciding whether a data series is dense enough to drive a rank. Covers the compute-session workflow, the sparse-series rule, and source recipes (see references/). Invoke with the NexusTrade MCP connected.

austin-starks/Public-Portfolio-Challenge

Measure a NexusTrade options book's TRUE participation at a fixed cold-start capital base, defeating the compounded-NAV breadth illusion. Use whenever a book's headline \"holds N/21 names\" needs validating, when a live book collapses to a single name (the OSCR trap), when checking whether a SelectTop / per-name-allocation / total-budget change degraded simultaneous participation, or when a certification needs a breadth gate. Uses audit_backtest_breadth at held-fixed $25k.

austin-starks/Public-Portfolio-Challenge

The \"loudly declare\" protocol for platform, engine, or data bugs during a NexusTrade certification campaign — bugs are a first-class deliverable, not something to route around. Use whenever a NexusTrade tool errors, hangs, or returns numbers that contradict the config; whenever you're tempted to write \"probably an engine quirk\"; or when a discovered bug invalidates prior backtests and results must be quarantined. Includes the bug hand-off doc template (see references/BUG_TEMPLATE.md).

austin-starks/Public-Portfolio-Challenge

The GATED deploy + cleanup flow for a NexusTrade live book — clone the finalist, preview a delta reconcile, stage UNAPPROVED orders, verify fills. Use ONLY after the human explicitly says \"deploy + clean up\" and names a finalist. Covers the clone-before-reconcile ordering, the single-tick reconcile expectation, stale-pending-order hygiene, the signal-freshness gate, and why you can never approve orders yourself. Nothing here runs during certification.

austin-starks/Public-Portfolio-Challenge

The mandatory pre-flight contract checks (Stage S0) that must pass before trusting NexusTrade's certification engine for any strategy work. Use at the start of a bakeoff or certification campaign to prove the walk-forward engine runs end-to-end, windows don't leak, fold winners persist, and the engine doesn't fabricate values for dead/not-yet-listed names. Each check has a STOP-and-report failure mode; these runs do NOT count toward any certification minimum.

austin-starks/Public-Portfolio-Challenge

The hard structural constraints for the Public Portfolio Challenge momentum-LEAP options book — the spread-shape rule, the take-profit convexity-cap footgun, the affordability ladder, and the known losers not to re-test. Use whenever building or auditing an options strategy structure, checking spread-shape compliance before a certification, choosing DTE/strike rungs, or deciding whether a proposed structure change is even allowed. A violation is an automatic certification FAIL.

austin-starks/Public-Portfolio-Challenge

Orchestrate an out-of-sample certification of a NexusTrade trading strategy or live book — the master discipline behind the Public Portfolio Challenge. Use whenever you must decide PASS/FAIL on whether a portfolio holds up out of sample before deploying real money, replaying the Episode 10 runbooks, or running a \"certify my book\" / \"prove it out of sample\" / \"re-certify the fix\" task with the NexusTrade MCP connected. Pulls in walk-forward-oos, breadth-audit, sweep-reoptimization, options-structure-rules, bug-protocol, and deploy-gate.

austin-starks/Public-Portfolio-Challenge

The single entry point that executes a Public Portfolio Challenge episode or addendum runbook end-to-end, delegating each stage to the functional skills. Use when asked to run/execute/replay Episode 10, its bakeoff, or its addendum with the NexusTrade MCP connected. Reads the target runbook, pins its real artifacts (IDs, the incumbent bar), sequences the stages, and stops at the gated deploy. It orchestrates; the functional skills do the work.

austin-starks/Public-Portfolio-Challenge

Run a multi-family strategy bakeoff — the SEARCH→CERTIFY funnel that screens many candidate mechanisms down to a certified deploy winner without letting the cheap search layer issue a verdict. Use when replaying the Episode 10 bakeoff, when exploring several distinct strategy families before certifying, when deciding whether \"no deployable winner\" is even a legal conclusion, or when building the per-family certification ledger. Enforces verdict-integrity: only certification can end a campaign.

austin-starks/Public-Portfolio-Challenge

Re-optimize a NexusTrade strategy with a walk-forward SWEEP and label parameter provenance — the discipline that prevents deploying inherited knobs. Use whenever a structural change (sizing, rung depth, universe membership, DTE family, adding a rank signal) forces a re-sweep, when authoring gene_intents from get_sweep_surface, when choosing sweep over GA for a deploy cert, or when selecting the cross-fold-robust winner instead of the per-fold argmax. Invoke with the NexusTrade MCP connected.

austin-starks/Public-Portfolio-Challenge

Run and read a NexusTrade walk-forward out-of-sample study — the certification engine behind the Public Portfolio Challenge. Use when certifying a fixed portfolio (backtest_only) or re-optimizing one (sweep), when setting fold_count / anchored / validation / embargo params, when monitoring a run_walk_forward_study to completion, when reading per-fold OOS returns/Sortino/drawdown, or when a variant's fold calendar needs calendar-alignment against a base control. Invoke with the NexusTrade MCP connected.

Verwandte Skills