Skip to content

Add SOXL signal consumer contract#146

Merged
Pigbibi merged 1 commit into
mainfrom
codex/soxl-signal-consumer-contract
Jun 19, 2026
Merged

Add SOXL signal consumer contract#146
Pigbibi merged 1 commit into
mainfrom
codex/soxl-signal-consumer-contract

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add the us_equity:soxl_soxx_trend_income derived-indicator consumer contract
  • export a SOXL/SOXX runtime market-signal consumer constant
  • update signal bundle, handoff, and research CLI fixtures for the new runtime consumer coverage

Tests

  • timeout 60 python -m compileall -q src tests
  • timeout 300 uv run --with pytest python -m pytest tests/test_signal_bundle_contract.py tests/test_signal_bundle_cli.py tests/test_smart_dca_research_cli.py tests/test_runtime_market_signal_inputs.py -q

@Pigbibi Pigbibi merged commit 3029fdb into main Jun 19, 2026
1 check passed
@Pigbibi Pigbibi deleted the codex/soxl-signal-consumer-contract branch June 19, 2026 20:45

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

Copy link
Copy Markdown

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: ce9ba17701

ℹ️ 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".

),
},
"us_equity:soxl_soxx_trend_income": {
"SOXL": (

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Normalize SOXL symbols before fallback validation

When a SOXL/SOXX signal bundle uses the documented lowercase soxl/soxx symbols, the normal consumer validation accepts it because symbols are normalized and _canonical_market_data preserves the original keys. If fallback_mode=last_valid later loads that cached payload, _validate_market_signal_inputs_for_consumer does an exact derived_indicators.get(symbol) using this new uppercase SOXL contract key, so the fallback rejects a cache entry that the primary extraction path accepted; normalize the fallback lookup or align the contract casing with the canonical input shape.

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