Communitygithub.com

austin-starks/Public-Portfolio-Challenge

Public Portfolio Challenge のモメンタムLEAPオプションブックのハードな構造制約 ― スプレッド形状ルール、利益確定凸性キャップの落とし穴、アフォーダビリティラダー、再テストしてはいけない既知の失敗パターン。オプション戦略の構築や監査、認定前のスプレッド形状チェック、DTE/ストライクラングの選択、提案された構造変更の可否判断の際に使用します。違反は自動的に認定FAILとなります。

Public-Portfolio-Challenge とは?

このスキルは、Public Portfolio Challenge のモメンタムLEAPオプションブックにおけるハードな構造制約を定義します。スプレッド形状ルール(長期DTEはコールのみ、短期DTEのみデビット/バーティカルスプレッド可)、利益確定の凸性キャップ(低いTPが先にバインドされ、勝ちトレードを制限する危険性)、アフォーダビリティラダー(各銘柄に手頃なラングがあることを保証する設計)、そして再テストしてはいけない既知の失敗パターン(ストップロス、長期DTEバーティカル、薄い短期スリーブなど)を網羅します。これらのルールに違反すると、自動的に認定FAILとなります。このスキールは、開発者やAIエージェントがオプション戦略の構築、監査、認定前のコンプライアンスチェックを行う際に使用されます。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/austin-starks/Public-Portfolio-Challenge/tree/HEAD/skills/options-structure-rules

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

オプション構造ルール

オプション構造ファミリーはエピソードの証拠によって確定済みです ― 通常、変更可能なのはシグナル(ランキング/ウェイト/フィルタリング)のみです。これらはハードな制約であり、違反は自動的に認定FAILとなります。

スプレッド形状ルール(ハード制約)

  • 長期DTE(約120 DTE以上)のエクスポージャー = アウトライト・ロングコールのみ。 上限なしの凸性、ショートレッグなし。長期DTEのデビットスプレッドやバーティカルスプレッドは不可(例:3月'27のATM/+3/+10/+20キャップド・バーティカルは違反であり、認定不可)。
  • デビット/バーティカルスプレッドは短期DTE のみ ― 約30 DTE以内で期限切れ。 薄型でも問題なし。

すべての最終候補について、get_portfolio からレッグのDTE/ストライクを読み取り、コンプライアンスを再確認すること。違反=自動FAIL、例外なし。

短期DTEバーティカルは禁止ではなく候補

以前の薄型 +3%幅、上限なし、全銘柄対象 ≤30-DTE スリーブは認定に失敗しました(シータ減衰、手数料の浪費、2025年4月フォールドを壊滅)。これは一点を反証したのであって、クラス全体を否定したわけではありません。短期DTEの幅広、株数キャップ付きデビットスプレッドは異なる構造です ― スイープとOOS(アウトオブサンプル)認定で判断させますが、障害モードが隠れないように実装します:幅は遺伝子、スリーブ株数はキャップ付き遺伝子であり、同一のOOSゲートを通過しなければなりません。さらに回転率/手数料のガードレール(フォールドごとの手数料+回転率+スリーブ株数を報告;以前のスリーブは手数料が現行の約$100~600に対して$1.5~$8.9k/フォールドに膨らみ、2025年4月フォールドを生き延びなければならない)が必要です。

確定済み構造ファミリー

アウトライトコールのみのモメンタムLEAP:7ラングの深いOTMラダー(ATM / +10 / +20 / +35 / +50 / +75 / +100% OTM、365~730 DTE)、TP +250%、アフォーダビリティバックフィル、SelectTop 21。代替データはランクシグナル、エントリフィルタ、銘柄ごとのティルト、またはオーバーレイ条件に触れることがあります ― 決して構造ラング、スプレッド形状ルール、またはユニバースには触れません。

利益確定凸性キャップの落とし穴

複数の「常時」利益確定クローズが存在する場合(例:P/L ≥ 20% / 50% / 200%)、最も低いものが最初にバインドされ、事実上すべての勝ちトレードを約+20%に制限します ― アウトライトコールの上限なし凸性の根拠を無効にします。これはリターンが利益を放置するブックに劣る最も可能性の高い単一の理由です。ライブブックで出口ラダーにこれがないか常識的にチェックすること;デプロイ設定では単一の高TP(例:+250%)またはTPなしを使用します。

アフォーダビリティラダー(構造的実現可能性)

$25kのコールドスタートでは、単一テンプレートの約$1k/銘柄のブックは構造的に失敗します。高価格帯の銘柄(META / LLY / GS / TSM / ADI / AVGO)の最小定義リスク構造は、契約ごとに**$1,300~$2,400**かかります。

  • 各テンプレートセットは、最も高価な銘柄でも埋められるラングで終了しなければなりません ― 構造をスイープする際に最も安いラングを決して削除しない。
  • テンプレートは高価→安価の順に並べ、エンジンが最初に手頃なラングを埋めるようにします。
  • 安価な構造を主要なメカニズムとすること=致命的な経路;ラダーはすべての銘柄に手頃なユニットを提供しなければなりません。
  • ティアごとに totalBudget ≥ K × perNameAllocation。予算は原価ベースを上限とし、市場価値ではありません ― 必ず audit_backtest_posture でテープ上で確認すること。ドルベースの予算はNAVの%ベースのサイジングのようにリスクを軽減しません。

ラダーが固定$25kで実際に参加しているかを測定するには breadth-audit を参照。

このブックでの既知の損失パターン(新しい原因なしに再テストしない)

  • ロングコールのストップロス / 保有期限までのLEAPブック ― 損失が二度発生、二度の痛手。
  • SPY > 200-SMA レジームゲート ― 2022年にフラットになり、認定活動フロアをクリアできず;200日SMAモメンタムフィルタもWORSTと判定。
  • 長期DTEのバーティカルスプレッド ― スプレッド形状ルールで禁止。
  • 薄型で株数上限なしの短期スリーブ ― シータ減衰でFAIL(上記参照)。
  • 狭い順位ローテーション(トップK ≤ 5、共有ケイデンス) ― K > 5を維持。

ケイデンス注意:DaysSinceLastRebalanceOptionOrder / DaysSinceOrder ― 新しいブックでは null >= N がTRUE;ケイデンスクロックはRebalanceOption戦略間で共有されます。

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

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.

関連スキル