From 0d668057b8804a2fd4851a6f1961411912931dfa Mon Sep 17 00:00:00 2001 From: Axel Gard Date: Tue, 7 May 2024 10:34:07 +0200 Subject: [PATCH] fixed imports problem --- cira/exchange.py | 2 +- cira/portfolio.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cira/exchange.py b/cira/exchange.py index 09e6aae..f16aa2d 100644 --- a/cira/exchange.py +++ b/cira/exchange.py @@ -32,7 +32,7 @@ def to_asset(self, symbol: str) -> asset.Asset: def get_all_stocks( self, is_tradeable: bool = True, force_reload: bool = False - ) -> List[asset.Stock]: + ) -> List[asset.Asset]: """Returns a list of all stocks as cira asset, objects will be cached, can be turn off in config.""" if config.USE_CASHING and self.stock_cache != [] and not force_reload: diff --git a/cira/portfolio.py b/cira/portfolio.py index 0a405e2..d22dea5 100644 --- a/cira/portfolio.py +++ b/cira/portfolio.py @@ -3,7 +3,7 @@ from alpaca.trading.client import TradingClient from . import auth from . import config -from .asset import Stock +from .asset_stock import Stock class Position: