Skip to content

Add cash buffer branch runtime support#3

Merged
Pigbibi merged 3 commits intomainfrom
codex/ibkr-cash-buffer-runtime
Apr 4, 2026
Merged

Add cash buffer branch runtime support#3
Pigbibi merged 3 commits intomainfrom
codex/ibkr-cash-buffer-runtime

Conversation

@Pigbibi
Copy link
Copy Markdown
Collaborator

@Pigbibi Pigbibi commented Apr 4, 2026

Summary

  • add runtime support for cash_buffer_branch_default through the existing IBKR strategy loader / registry path
  • add snapshot guard + manifest validation, reconciliation output, and same-day practical idempotency checks
  • add Cloud Run env sync support plus dry-run / paper / rollback example env patches
  • bundle the canonical cash-buffer config and pin us-equity-strategies to QuantStrategyLab/UsEquityStrategies@ced79a2

Why

The current Cloud Run paper service still runs an image that only supports global_etf_rotation. This PR is the platform-side runtime work needed before IBKR paper can switch to cash_buffer_branch_default in dry-run mode.

Depends on

Validation

  • PYTHONPATH=/tmp/ibkr-publish:/tmp/ues-publish:/tmp/ues-publish/src:/Users/lisiyi/Projects/QuantPlatformKit/src /Users/lisiyi/Projects/InteractiveBrokersPlatform/.venv/bin/python -m pytest /tmp/ibkr-publish/tests/test_strategy_loader.py /tmp/ibkr-publish/tests/test_runtime_config_support.py /tmp/ibkr-publish/tests/test_snapshot_strategy_runtime.py /tmp/ibkr-publish/tests/test_execution_service.py /tmp/ibkr-publish/tests/test_rebalance_service.py /tmp/ibkr-publish/tests/test_feature_snapshot_service.py /tmp/ibkr-publish/tests/test_cloud_run_entrypoint.py
  • 39 passed
  • bash /tmp/ibkr-publish/tests/test_sync_cloud_run_env_workflow.sh

@Pigbibi Pigbibi marked this pull request as ready for review April 4, 2026 21:03
@Pigbibi Pigbibi merged commit afef959 into main Apr 4, 2026
1 check passed
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