Document TQQQ/SOXL optimization research#30
Conversation
There was a problem hiding this comment.
💡 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"), |
There was a problem hiding this comment.
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 👍 / 👎.
Summary
soxl_soxx_trend_incomeResearch notes
shadowmode only; no broker writes or allocation mutationTests
.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