diff --git a/nautilus_trader/adapters/interactive_brokers/client/client.py b/nautilus_trader/adapters/interactive_brokers/client/client.py index 7c00587c7a13..fdbfee544233 100644 --- a/nautilus_trader/adapters/interactive_brokers/client/client.py +++ b/nautilus_trader/adapters/interactive_brokers/client/client.py @@ -49,9 +49,6 @@ from ibapi.utils import current_fn_name from ibapi.wrapper import EWrapper -from nautilus_trader import PYPROJECT_PATH -from nautilus_trader import get_package_version_from_toml -from nautilus_trader import get_package_version_installed from nautilus_trader.adapters.interactive_brokers.client.common import AccountOrderRef from nautilus_trader.adapters.interactive_brokers.client.common import IBPosition from nautilus_trader.adapters.interactive_brokers.client.common import Requests @@ -82,15 +79,15 @@ # fmt: on -# Check ibapi package versioning -ibapi_package = "nautilus_ibapi" -ibapi_version_specified = get_package_version_from_toml(PYPROJECT_PATH, ibapi_package, True) -ibapi_version_installed = get_package_version_installed(ibapi_package) - -if ibapi_version_specified != ibapi_version_installed: - raise RuntimeError( - f"Expected `{ibapi_package}` version {ibapi_version_specified}, but found {ibapi_version_installed}", - ) +# Check ibapi package versioning (skipping for now) +# ibapi_package = "nautilus_ibapi" +# ibapi_version_specified = get_package_version_from_toml(PYPROJECT_PATH, ibapi_package, True) +# ibapi_version_installed = get_package_version_installed(ibapi_package) +# +# if ibapi_version_specified != ibapi_version_installed: +# raise RuntimeError( +# f"Expected `{ibapi_package}` version {ibapi_version_specified}, but found {ibapi_version_installed}", +# ) class InteractiveBrokersClient(Component, EWrapper):