Skip to content

Document TQQQ/SOXL optimization research#30

Merged
Pigbibi merged 1 commit into
mainfrom
research/tqqq-soxl-optimization-notes
May 10, 2026
Merged

Document TQQQ/SOXL optimization research#30
Pigbibi merged 1 commit into
mainfrom
research/tqqq-soxl-optimization-notes

Conversation

@Pigbibi
Copy link
Copy Markdown
Contributor

@Pigbibi Pigbibi commented May 10, 2026

Summary

  • allow the notification-only crisis shadow plugin to mount to soxl_soxx_trend_income
  • add SOXL runner regression coverage with configured SOXX/SOXL symbols
  • document the strict no-regression TQQQ/SOXL optimization sweep and update SOXL research notes

Research notes

  • TQQQ: no tested candidate passed the no-CAGR/no-MDD-regression rule across all windows
  • SOXL: best passing candidate is SOXX 20d realized volatility >= 50%, retain 0% SOXL, redirect to SOXX
  • crisis shadow remains shadow mode only; no broker writes or allocation mutation

Tests

  • .venv/bin/python -m pytest tests/test_strategy_plugin_runner.py tests/test_crisis_response_shadow_plugin.py
  • .venv/bin/python -m pytest tests/test_strategy_plugin_publish_workflow.py
  • .venv/bin/ruff check src/us_equity_snapshot_pipelines/strategy_plugin_runner.py tests/test_strategy_plugin_runner.py src/us_equity_snapshot_pipelines/crisis_response_shadow_plugin.py tests/test_crisis_response_shadow_plugin.py

@Pigbibi Pigbibi merged commit 2143b94 into main May 10, 2026
1 check passed
@Pigbibi Pigbibi deleted the research/tqqq-soxl-optimization-notes branch May 10, 2026 11:52
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: df5c7c2778

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

SUPPORTED_PLUGIN_MODES = (SHADOW_MODE,)
PLUGIN_COMPATIBLE_STRATEGIES: dict[str, tuple[str, ...]] = {
PLUGIN_CRISIS_RESPONSE_SHADOW: ("tqqq_growth_income",),
PLUGIN_CRISIS_RESPONSE_SHADOW: ("tqqq_growth_income", "soxl_soxx_trend_income"),
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Enforce SOXL symbol overrides for new strategy mount

Allowing crisis_response_shadow to mount to soxl_soxx_trend_income without additional validation means SOXL entries can still run with the plugin’s hardcoded defaults (benchmark_symbol=QQQ, attack_symbol=TQQQ) when those fields are omitted. In that case the runner either evaluates the wrong market context or trips the kill switch on SOXL-only price files (missing QQQ), which breaks the new compatibility path introduced here. Please either add strategy-specific defaults for SOXL or reject SOXL mounts unless benchmark_symbol/attack_symbol are explicitly configured.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant