Skip to content

[codex] Support US core combo shadow profile#301

Merged
Pigbibi merged 1 commit into
mainfrom
codex/us-equity-combo-core-support
Jul 4, 2026
Merged

[codex] Support US core combo shadow profile#301
Pigbibi merged 1 commit into
mainfrom
codex/us-equity-combo-core-support

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • update the us-equity-strategies git pin to the merged us_equity_combo_core support commit
  • allow IBKR runtime/profile status tests to recognize us_equity_combo_core
  • cover runtime settings acceptance and profile status details for the shadow core combo

Validation

  • PYTHONPATH=/Users/lisiyi/Projects/InteractiveBrokersPlatform:/Users/lisiyi/Projects/UsEquityStrategies/src:/Users/lisiyi/Projects/HkEquityStrategies/src:/Users/lisiyi/Projects/QuantPlatformKit/src python3 -m pytest /Users/lisiyi/Projects/InteractiveBrokersPlatform/tests/test_runtime_config_support.py -q
  • python3 -m py_compile ...
  • uv lock --check
  • git diff --check

Notes

  • Settings UI catalog is intentionally unchanged; shadow/research profiles should not appear as live-switch options.

Co-Authored-By: Codex <noreply@openai.com>
@cursor

cursor Bot commented Jul 4, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@Pigbibi Pigbibi enabled auto-merge July 4, 2026 20:41

@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: 5787f105b5

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

assert "nasdaq_sp500_smart_dca" in by_profile
assert "ibit_smart_dca" in by_profile
assert by_profile["us_equity_combo_core"]["profile_group"] == "direct_runtime_inputs"
assert by_profile["us_equity_combo_core"]["input_mode"] == "current_holdings+russell_snapshot"

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 Add signal runtime support before enabling core combo

This enables us_equity_combo_core as an IBKR profile while the status now declares its input mode as current_holdings+russell_snapshot, but the live signal path in LoadedStrategyRuntime.evaluate only dispatches feature_snapshot, market_data, market_history, or portfolio_snapshot plus derived/benchmark inputs before raising ValueError("Unsupported required_inputs..."). In any Cloud Run/service target that selects this new profile, config loading and status checks can pass, but signal computation will fail because no runtime branch materializes russell_snapshot or handles this input combination; add that runtime path or keep the profile out of the enabled set until it exists.

Useful? React with 👍 / 👎.

@Pigbibi Pigbibi merged commit dcd6035 into main Jul 4, 2026
4 of 5 checks passed
@Pigbibi Pigbibi deleted the codex/us-equity-combo-core-support branch July 4, 2026 20:45
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