Communitygithub.com

austin-starks/Public-Portfolio-Challenge

Exécutez un tournoi de stratégies multi-familles — l'entonnoir RECHERCHE→CERTIFICATION qui filtre de nombreux candidats jusqu'à un déploiement gagnant certifié, sans permettre à la couche de recherche bon marché d'émettre un verdict. À utiliser pour rejouer le tournoi de l'épisode 10, explorer plusieurs familles de stratégies distinctes avant de certifier, décider si « aucun déploiement gagnant » est une conclusion légale, ou construire le registre de certification par famille. Applique l'intégrité du verdict : seule la certification peut mettre fin à une campagne.

Qu'est-ce que Public-Portfolio-Challenge ?

Ce skill implémente un entonnoir d'évaluation de stratégies en deux couches (RECHERCHE→CERTIFICATION) avec un corps de travail minimum obligatoire. La règle centrale est qu'aucun verdict ne peut être émis par la couche de recherche ; seule la certification walk-forward (walk-forward-oos) peut conclure une campagne. Il est conçu pour les plateformes comme Claude Code, Cursor ou Codex, et oblige à certifier au moins 3 familles de mécanismes distinctes avant de conclure à l'absence de gagnant. Le skill applique des règles strictes d'intégrité du verdict, empêchant les conclusions généralisées et exigeant une attribution par contrainte bloquante. Il comprend un registre de certification par famille et une boucle de certification par seed, avec des planchers de certification précis (participation ≥ 0,35, noms distincts ≥ 9, rendement validation ≥ 0, Sortino validation ≥ 0,5). L'utilisateur peut ainsi explorer systématiquement des familles de stratégies (moments, régimes, crédits, spreads calendaires, colliers protecteurs) et obtenir des résultats robustes et vérifiables.

Compatible avec~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/austin-starks/Public-Portfolio-Challenge/tree/HEAD/skills/strategy-bakeoff

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Tournoi de Stratégies Multi-Familles

Un entonnoir RECHERCHE → CERTIFICATION en deux couches avec un corps de travail minimum obligatoire. La règle centrale : un verdict est INTERDIT depuis la couche de recherche. Seule la certification walk-forward (walk-forward-oos) peut mettre fin à la campagne.

Deux outils, deux missions

  • Couche RECHERCHE (bon marché) : backtest_portfolio, create_portfolio_variant, optimize_portfolio, systematic_sweep. Elle peut seulement TUER ou PROMOUVOIR une idée vers la certification. Elle génère « un ensemble classé de GRAINES » et ne peut jamais émettre de verdict.
  • Couche CERTIFICATION (bourrin) : certification par sweep walk-forward sur les graines promues. Seule cette couche peut conclure RÉUSSI / ÉCHEC ou « aucun déploiement gagnant. »

systematic_sweep sur la grille déploiement × structure × DTE × delta est obligatoire dans la couche de recherche avant qu'un voisinage ne soit déclaré mort.

Le corps de travail minimum obligatoire

  • ≥ 3 familles de mécanismes distinctes certifiées avant tout verdict « aucun gagnant ». Mécanismes véritablement différents, pas trois variantes d'une même famille. Menu des familles (choisissez ≥ 3) : (a) momentum long calls/verticaux ; (b) changement de régime long/flat ; (c) crédit défini / prime courte (gagne en marche plate/baissière) ; (d) spreads temporels calendaires / diagonaux ; (e) collier protecteur ou long financé par spread put.
  • Jusqu'à 3 tentatives de certification par famille (re-sweep à partir d'une graine PROPRE avec gene_intents affinés, grille plus profonde, ou validation plus large) avant qu'une famille ne soit « épuisée. »
  • Total réaliste : ~3–9 certifications par sweep, plus la graine certifiée existante.
  • Chaque sweep non trivial : ≥ 3 axes gene_intents × ≥ 3 valeurs chacun (voir réoptimisation par sweep pour les correspondances exactes de champs). Un sweep à 1 axe ou 2 valeurs ne QUALIFIE pas.

Registre de certification par famille (obligatoire)

Consignez ce tableau dans le journal d'exécution — une famille sans ligne de registre n'a PAS été explorée :

| Famille | ID de graine | get_sweep_surface ✓ | Axes gene_intents | ID d'étude | Clé crossFoldRobustSelection | ID de livre assemblé | Résultat de porte OOS par pli | PROMOUVOIR / TUER (raison) |

Boucle de certification par graine

get_sweep_surface → run_walk_forward_study (preview_only d'abord) → lire aggregate.crossFoldRobustSelection → assembler le livre de forme de déploiement → passer la porte sur l'objet assemblé → écrire la ligne du registre. Planchers de certification (certification:true) : participation ≥ 0,35, noms distincts ≥ 9, rendement de validation ≥ 0, Sortino de validation ≥ 0,5.

Règles d'intégrité du verdict (la discipline centrale de la campagne)

  • Zéro certification optimisée = INVALIDE, pas un « honnête aucun déploiement. » Émettre un verdict — surtout « aucun déploiement gagnant » / « infaisabilité structurelle » — sans que des certifications optimisées aient été exécutées sur des graines candidates rend la campagne INVALIDE. (Une exécution précédente a déclaré une infaisabilité après zéro certification optimisée.)
  • Aucune réclamation d'infaisabilité à partir de N points construits manuellement — doit citer systematic_sweep + le corps ≥3 familles et nommer la SEULE porte bloquante par famille avec preuve d'ID d'étude.
  • Un contre-exemple dans vos propres données interdit une réclamation d'infaisabilité généralisée — localisez la contrainte bloquante, ne généralisez pas.
  • Attribution de contrainte bloquante: chaque mise à mort nomme la seule porte échouée + la preuve certifiée. « Cela a généralement sous-performé » n'est pas une raison de mise à mort.
  • Un changement de mécanisme par candidat — afin qu'une mise à mort/promotion s'attribue proprement.
  • Cohérence du remède: un remède proposé ne doit pas contredire l'état mesuré du candidat tué (ne proposez pas « augmenter le déploiement » pour un livre ayant échoué sous le plafond de posture ; ne proposez pas « ajouter de la convexité » pour un livre ayant échoué sur le drawdown).

Voir règles-de-structure-d'options pour le chemin de mise à mort par échelle d'accessibilité et les perdants connus, et coffre-de-rétention pour les bases de référence (A/B/C) et la confirmation finale à touche unique.

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 single-touch lockbox — a final anti-overfitting holdout run once, after design freeze, on a window held out from every fold, sweep, and search. Use when finalizing a bakeoff winner before deploy, setting up the A/B/C baselines as OOS bars, or running the S1.5 gate-coherence auto-relax. Covers why looking at the lockbox twice burns it, the lockbox pass conditions, and the three baselines. The lockbox is distinct from the walk-forward OOS folds.

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

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.

Skills associés