Skip to content

Sync IBKR scheduler timezone from market config#149

Merged
Pigbibi merged 1 commit into
mainfrom
fix/market-aware-scheduler-sync
Jun 10, 2026
Merged

Sync IBKR scheduler timezone from market config#149
Pigbibi merged 1 commit into
mainfrom
fix/market-aware-scheduler-sync

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • skip execution-report heartbeat when no configured Cloud Scheduler main job is due in the lookback window
  • sync each IBKR target's Cloud Scheduler timezone from its market timezone in the env sync plan
  • keep cron expressions unchanged and skip missing scheduler jobs instead of creating resources

Tests

  • PYTHONPATH=. python -m pytest -q tests/test_execution_report_heartbeat.py
  • bash tests/test_sync_cloud_run_env_workflow.sh
  • python -m ruff check scripts/execution_report_heartbeat.py tests/test_execution_report_heartbeat.py
  • python -m py_compile scripts/execution_report_heartbeat.py tests/test_execution_report_heartbeat.py

@Pigbibi Pigbibi merged commit 74d4b2a into main Jun 10, 2026
1 check passed
@Pigbibi Pigbibi deleted the fix/market-aware-scheduler-sync branch June 10, 2026 05:05
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