Skip to content

Commit

Permalink
Consolidate clock module into components
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdsellers committed Jan 23, 2024
1 parent 55d82a7 commit ecbda36
Show file tree
Hide file tree
Showing 176 changed files with 1,529 additions and 1,592 deletions.
3 changes: 2 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ Released on TBD (UTC).
None

### Breaking Changes
- Consolidated `logging` module into one `components` module (reduce binary wheel size)
- Consolidated `clock` module into `components` module (reduce binary wheel size)
- Consolidated `logging` module into `components` module (reduce binary wheel size)

### Fixes
None
Expand Down
10 changes: 0 additions & 10 deletions docs/api_reference/common.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@
:member-order: bysource
```

## Clock

```{eval-rst}
.. automodule:: nautilus_trader.common.clock
:show-inheritance:
:inherited-members:
:members:
:member-order: bysource
```

## Component

```{eval-rst}
Expand Down
2 changes: 1 addition & 1 deletion docs/concepts/adapters.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Here is an example of discovering the current instruments for the Binance Future
from nautilus_trader.adapters.binance.common.enums import BinanceAccountType
from nautilus_trader.adapters.binance.factories import get_cached_binance_http_client
from nautilus_trader.adapters.binance.futures.providers import BinanceFuturesInstrumentProvider
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock


clock = LiveClock()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from nautilus_trader.adapters.binance.futures.providers import BinanceFuturesInstrumentProvider
from nautilus_trader.backtest.engine import BacktestEngine
from nautilus_trader.backtest.engine import BacktestEngineConfig
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.config import InstrumentProviderConfig
from nautilus_trader.config import LoggingConfig
from nautilus_trader.examples.strategies.ema_cross_trailing_stop import EMACrossTrailingStop
Expand Down
2 changes: 1 addition & 1 deletion examples/live/bybit/bybit_request_custom_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from nautilus_trader.adapters.bybit.factories import BybitLiveExecClientFactory
from nautilus_trader.adapters.bybit.schemas.market.ticker import BybitTickerData
from nautilus_trader.common import Environment
from nautilus_trader.common.clock import TimeEvent
from nautilus_trader.common.component import TimeEvent
from nautilus_trader.config import InstrumentProviderConfig
from nautilus_trader.config import LiveExecEngineConfig
from nautilus_trader.config import LoggingConfig
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/accounting/manager.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ from nautilus_trader.accounting.accounts.base cimport Account
from nautilus_trader.accounting.accounts.cash cimport CashAccount
from nautilus_trader.accounting.accounts.margin cimport MarginAccount
from nautilus_trader.cache.base cimport CacheFacade
from nautilus_trader.common.clock cimport Clock
from nautilus_trader.common.component cimport Clock
from nautilus_trader.common.component cimport Logger
from nautilus_trader.core.rust.model cimport OrderSide
from nautilus_trader.model.events.account cimport AccountState
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/accounting/manager.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ from nautilus_trader.accounting.accounts.base cimport Account
from nautilus_trader.accounting.accounts.cash cimport CashAccount
from nautilus_trader.accounting.accounts.margin cimport MarginAccount
from nautilus_trader.cache.base cimport CacheFacade
from nautilus_trader.common.clock cimport Clock
from nautilus_trader.common.component cimport Clock
from nautilus_trader.common.component cimport Logger
from nautilus_trader.core.correctness cimport Condition
from nautilus_trader.core.rust.common cimport logging_is_initialized
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/betfair/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from nautilus_trader.adapters.betfair.providers import BetfairInstrumentProvider
from nautilus_trader.adapters.betfair.sockets import BetfairMarketStreamClient
from nautilus_trader.cache.cache import Cache
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import MessageBus
from nautilus_trader.common.enums import LogColor
from nautilus_trader.core.correctness import PyCondition
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/betfair/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
from nautilus_trader.adapters.betfair.providers import BetfairInstrumentProvider
from nautilus_trader.adapters.betfair.sockets import BetfairOrderStreamClient
from nautilus_trader.cache.cache import Cache
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import MessageBus
from nautilus_trader.common.enums import LogColor
from nautilus_trader.core.correctness import PyCondition
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/betfair/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from nautilus_trader.adapters.betfair.providers import BetfairInstrumentProvider
from nautilus_trader.adapters.betfair.providers import BetfairInstrumentProviderConfig
from nautilus_trader.cache.cache import Cache
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import Logger
from nautilus_trader.common.component import MessageBus
from nautilus_trader.live.factories import LiveDataClientFactory
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/binance/common/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
from nautilus_trader.adapters.binance.http.market import BinanceMarketHttpAPI
from nautilus_trader.adapters.binance.websocket.client import BinanceWebSocketClient
from nautilus_trader.cache.cache import Cache
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import MessageBus
from nautilus_trader.common.enums import LogColor
from nautilus_trader.common.providers import InstrumentProvider
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/binance/common/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
from nautilus_trader.adapters.binance.http.user import BinanceUserDataHttpAPI
from nautilus_trader.adapters.binance.websocket.client import BinanceWebSocketClient
from nautilus_trader.cache.cache import Cache
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import MessageBus
from nautilus_trader.common.enums import LogColor
from nautilus_trader.common.providers import InstrumentProvider
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/binance/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from nautilus_trader.adapters.binance.spot.providers import BinanceSpotInstrumentProvider
from nautilus_trader.adapters.env import get_env_key
from nautilus_trader.cache.cache import Cache
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import MessageBus
from nautilus_trader.config import InstrumentProviderConfig
from nautilus_trader.core.nautilus_pyo3 import Quota
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/binance/futures/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from nautilus_trader.adapters.binance.futures.types import BinanceFuturesMarkPriceUpdate
from nautilus_trader.adapters.binance.http.client import BinanceHttpClient
from nautilus_trader.cache.cache import Cache
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import MessageBus
from nautilus_trader.common.providers import InstrumentProvider
from nautilus_trader.core.correctness import PyCondition
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/binance/futures/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
from nautilus_trader.adapters.binance.http.client import BinanceHttpClient
from nautilus_trader.adapters.binance.http.error import BinanceError
from nautilus_trader.cache.cache import Cache
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import MessageBus
from nautilus_trader.common.enums import LogColor
from nautilus_trader.core.correctness import PyCondition
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/binance/futures/http/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from nautilus_trader.adapters.binance.http.account import BinanceAccountHttpAPI
from nautilus_trader.adapters.binance.http.client import BinanceHttpClient
from nautilus_trader.adapters.binance.http.endpoint import BinanceHttpEndpoint
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.core.nautilus_pyo3 import HttpMethod


Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/binance/futures/http/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from nautilus_trader.adapters.binance.futures.schemas.wallet import BinanceFuturesCommissionRate
from nautilus_trader.adapters.binance.http.client import BinanceHttpClient
from nautilus_trader.adapters.binance.http.endpoint import BinanceHttpEndpoint
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.core.nautilus_pyo3 import HttpMethod


Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/binance/futures/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from nautilus_trader.adapters.binance.futures.schemas.market import BinanceFuturesSymbolInfo
from nautilus_trader.adapters.binance.futures.schemas.wallet import BinanceFuturesCommissionRate
from nautilus_trader.adapters.binance.http.client import BinanceHttpClient
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.providers import InstrumentProvider
from nautilus_trader.config import InstrumentProviderConfig
from nautilus_trader.core.correctness import PyCondition
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/binance/http/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from nautilus_trader.adapters.binance.common.schemas.symbol import BinanceSymbol
from nautilus_trader.adapters.binance.http.client import BinanceHttpClient
from nautilus_trader.adapters.binance.http.endpoint import BinanceHttpEndpoint
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.core.correctness import PyCondition
from nautilus_trader.core.nautilus_pyo3 import HttpMethod

Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/binance/http/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import nautilus_trader
from nautilus_trader.adapters.binance.http.error import BinanceClientError
from nautilus_trader.adapters.binance.http.error import BinanceServerError
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import Logger
from nautilus_trader.core.nautilus_pyo3 import HttpClient
from nautilus_trader.core.nautilus_pyo3 import HttpMethod
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/binance/spot/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from nautilus_trader.adapters.binance.spot.schemas.market import BinanceSpotOrderBookPartialDepthMsg
from nautilus_trader.adapters.binance.spot.schemas.market import BinanceSpotTradeMsg
from nautilus_trader.cache.cache import Cache
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import MessageBus
from nautilus_trader.common.providers import InstrumentProvider
from nautilus_trader.core.correctness import PyCondition
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/binance/spot/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from nautilus_trader.adapters.binance.spot.schemas.user import BinanceSpotOrderUpdateWrapper
from nautilus_trader.adapters.binance.spot.schemas.user import BinanceSpotUserMsgWrapper
from nautilus_trader.cache.cache import Cache
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import MessageBus
from nautilus_trader.common.enums import LogColor
from nautilus_trader.core.correctness import PyCondition
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/binance/spot/http/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from nautilus_trader.adapters.binance.http.endpoint import BinanceHttpEndpoint
from nautilus_trader.adapters.binance.spot.schemas.account import BinanceSpotAccountInfo
from nautilus_trader.adapters.binance.spot.schemas.account import BinanceSpotOrderOco
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.core.nautilus_pyo3 import HttpMethod


Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/binance/spot/http/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from nautilus_trader.adapters.binance.http.client import BinanceHttpClient
from nautilus_trader.adapters.binance.http.endpoint import BinanceHttpEndpoint
from nautilus_trader.adapters.binance.spot.schemas.wallet import BinanceSpotTradeFee
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.core.nautilus_pyo3 import HttpMethod


Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/binance/spot/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from nautilus_trader.adapters.binance.spot.http.wallet import BinanceSpotWalletHttpAPI
from nautilus_trader.adapters.binance.spot.schemas.market import BinanceSpotSymbolInfo
from nautilus_trader.adapters.binance.spot.schemas.wallet import BinanceSpotTradeFee
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.providers import InstrumentProvider
from nautilus_trader.config import InstrumentProviderConfig
from nautilus_trader.core.correctness import PyCondition
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/binance/websocket/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from typing import Any

from nautilus_trader.adapters.binance.common.schemas.symbol import BinanceSymbol
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import Logger
from nautilus_trader.common.enums import LogColor
from nautilus_trader.core.nautilus_pyo3 import WebSocketClient
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/bybit/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from nautilus_trader.adapters.bybit.utils import get_api_secret
from nautilus_trader.adapters.bybit.websocket.client import BybitWebsocketClient
from nautilus_trader.cache.cache import Cache
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import MessageBus
from nautilus_trader.common.providers import InstrumentProvider
from nautilus_trader.core.datetime import secs_to_millis
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/bybit/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
from nautilus_trader.adapters.bybit.utils import get_api_secret
from nautilus_trader.adapters.bybit.websocket.client import BybitWebsocketClient
from nautilus_trader.cache.cache import Cache
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import MessageBus
from nautilus_trader.common.providers import InstrumentProvider
from nautilus_trader.core.correctness import PyCondition
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/bybit/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from nautilus_trader.adapters.bybit.provider import BybitInstrumentProvider
from nautilus_trader.adapters.env import get_env_key
from nautilus_trader.cache.cache import Cache
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import MessageBus
from nautilus_trader.config import InstrumentProviderConfig
from nautilus_trader.core.nautilus_pyo3 import Quota
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/bybit/http/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
from nautilus_trader.adapters.bybit.schemas.position import BybitPositionStruct
from nautilus_trader.adapters.bybit.schemas.symbol import BybitSymbol
from nautilus_trader.adapters.bybit.utils import get_category_from_instrument_type
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.core.correctness import PyCondition


Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/bybit/http/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import nautilus_trader
from nautilus_trader.adapters.bybit.common.error import raise_bybit_error
from nautilus_trader.adapters.bybit.http.errors import BybitError
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import Logger
from nautilus_trader.core.nautilus_pyo3 import HttpClient
from nautilus_trader.core.nautilus_pyo3 import HttpMethod
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/bybit/http/market.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
from nautilus_trader.adapters.bybit.schemas.market.ticker import BybitTickerList
from nautilus_trader.adapters.bybit.schemas.symbol import BybitSymbol
from nautilus_trader.adapters.bybit.utils import get_category_from_instrument_type
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.core.correctness import PyCondition
from nautilus_trader.model.data import Bar
from nautilus_trader.model.data import BarType
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/bybit/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from nautilus_trader.adapters.bybit.schemas.instrument import BybitInstrumentList
from nautilus_trader.adapters.bybit.schemas.instrument import BybitInstrumentOption
from nautilus_trader.adapters.bybit.schemas.instrument import BybitInstrumentSpot
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.providers import InstrumentProvider
from nautilus_trader.config import InstrumentProviderConfig
from nautilus_trader.core.correctness import PyCondition
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/bybit/websocket/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import json
from collections.abc import Callable

from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import Logger
from nautilus_trader.common.enums import LogColor
from nautilus_trader.core.nautilus_pyo3 import WebSocketClient
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/databento/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
from nautilus_trader.adapters.databento.types import DatabentoPublisher
from nautilus_trader.adapters.databento.types import Dataset
from nautilus_trader.cache.cache import Cache
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import MessageBus
from nautilus_trader.common.enums import LogColor
from nautilus_trader.core import nautilus_pyo3
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/databento/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from nautilus_trader.adapters.databento.providers import DatabentoInstrumentProvider
from nautilus_trader.adapters.env import get_env_key
from nautilus_trader.cache.cache import Cache
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import MessageBus
from nautilus_trader.config.common import InstrumentProviderConfig
from nautilus_trader.live.factories import LiveDataClientFactory
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/databento/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

from nautilus_trader.adapters.databento.loaders import DatabentoDataLoader
from nautilus_trader.adapters.databento.parsing import parse_record_with_metadata
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.providers import InstrumentProvider
from nautilus_trader.config import InstrumentProviderConfig
from nautilus_trader.core.correctness import PyCondition
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
from nautilus_trader.adapters.interactive_brokers.common import IBContract
from nautilus_trader.adapters.interactive_brokers.parsing.instruments import instrument_id_to_ib_contract
from nautilus_trader.cache.cache import Cache
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import Component
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import MessageBus
from nautilus_trader.common.enums import LogColor
from nautilus_trader.model.identifiers import ClientId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

from nautilus_trader.adapters.interactive_brokers.common import IBContract
from nautilus_trader.cache.cache import Cache
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import Logger
from nautilus_trader.common.component import MessageBus
from nautilus_trader.model.data import BarType
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/interactive_brokers/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from nautilus_trader.adapters.interactive_brokers.parsing.data import timedelta_to_duration_str
from nautilus_trader.adapters.interactive_brokers.providers import InteractiveBrokersInstrumentProvider
from nautilus_trader.cache.cache import Cache
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import MessageBus
from nautilus_trader.core.uuid import UUID4
from nautilus_trader.live.data_client import LiveMarketDataClient
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/interactive_brokers/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
from nautilus_trader.adapters.interactive_brokers.parsing.execution import timestring_to_timestamp
from nautilus_trader.adapters.interactive_brokers.providers import InteractiveBrokersInstrumentProvider
from nautilus_trader.cache.cache import Cache
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import MessageBus
from nautilus_trader.core.correctness import PyCondition
from nautilus_trader.core.rust.common import LogColor
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/adapters/interactive_brokers/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from nautilus_trader.adapters.interactive_brokers.gateway import InteractiveBrokersGateway
from nautilus_trader.adapters.interactive_brokers.providers import InteractiveBrokersInstrumentProvider
from nautilus_trader.cache.cache import Cache
from nautilus_trader.common.clock import LiveClock
from nautilus_trader.common.component import LiveClock
from nautilus_trader.common.component import MessageBus
from nautilus_trader.live.factories import LiveDataClientFactory
from nautilus_trader.live.factories import LiveExecClientFactory
Expand Down
Loading

0 comments on commit ecbda36

Please sign in to comment.