Skip to content

Fallback IBKR gateway port defaults - #99

Merged
Pigbibi merged 1 commit into
mainfrom
fix/ibkr-gateway-port-fallback
May 26, 2026
Merged

Fallback IBKR gateway port defaults#99
Pigbibi merged 1 commit into
mainfrom
fix/ibkr-gateway-port-fallback

Conversation

@Pigbibi

@Pigbibi Pigbibi commented May 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Keep account-group ib_gateway_port as the preferred runtime port.
  • Fall back to the existing live/paper default ports when older stubs or compatibility paths do not expose ib_gateway_port.

Validation

  • PYTHONPATH=.:/home/ubuntu/Projects/QuantPlatformKit/src:/home/ubuntu/Projects/UsEquityStrategies/src timeout 180 .venv/bin/python -m pytest tests/test_connect_timeout_alert.py::IBRKConnectTimeoutAlertTests::test_handle_request_sends_ibkr_connect_timeout_notification tests/test_event_loop.py::test_account_group_can_override_ib_gateway_port tests/test_event_loop.py::test_ib_gateway_mode_derives_paper_port -q
  • PYTHONPATH=.:/home/ubuntu/Projects/QuantPlatformKit/src:/home/ubuntu/Projects/UsEquityStrategies/src timeout 180 .venv/bin/python -m pytest -q tests
  • timeout 120 .venv/bin/python -m ruff check main.py tests

@Pigbibi
Pigbibi merged commit 8e19cd2 into main May 26, 2026
1 check passed
@Pigbibi
Pigbibi deleted the fix/ibkr-gateway-port-fallback branch May 26, 2026 07:21
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