Skip to content

Allow IBKR execution to use close price fallbacks#67

Merged
Pigbibi merged 1 commit into
mainfrom
codex/ibkr-price-fallback-and-slotb-window
May 19, 2026
Merged

Allow IBKR execution to use close price fallbacks#67
Pigbibi merged 1 commit into
mainfrom
codex/ibkr-price-fallback-and-slotb-window

Conversation

@Pigbibi
Copy link
Copy Markdown
Collaborator

@Pigbibi Pigbibi commented May 19, 2026

Summary

  • allow live execution to use strategy-provided close-price fallbacks when IBKR quote snapshots are missing
  • expose recent historical close fallbacks for value/market-history runtimes, including the TQQQ slot A path
  • keep dry-run snapshot wording separate from live execution fallback wording

Validation

  • PYTHONPATH=/home/ubuntu/Projects/QuantPlatformKit/src:/home/ubuntu/Projects/UsEquityStrategies/src PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 .venv/bin/python -m pytest -q tests/test_execution_service.py tests/test_strategy_runtime.py tests/test_rebalance_service.py
  • .venv/bin/python -m ruff check application/execution_service.py strategy_runtime.py notifications/renderers.py notifications/telegram.py tests/test_execution_service.py tests/test_strategy_runtime.py tests/test_rebalance_service.py
  • git diff --check

Ops

  • updated Cloud Scheduler slot B precheck/probe to the monthly execution window (1-7).

@Pigbibi Pigbibi merged commit 7c17bdd into main May 19, 2026
1 check passed
@Pigbibi Pigbibi deleted the codex/ibkr-price-fallback-and-slotb-window branch May 19, 2026 00:19
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