Skip to content

Commit 0d66805

Browse files
committed
fixed imports problem
1 parent 3c3d75f commit 0d66805

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cira/exchange.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def to_asset(self, symbol: str) -> asset.Asset:
3232

3333
def get_all_stocks(
3434
self, is_tradeable: bool = True, force_reload: bool = False
35-
) -> List[asset.Stock]:
35+
) -> List[asset.Asset]:
3636
"""Returns a list of all stocks as cira asset,
3737
objects will be cached, can be turn off in config."""
3838
if config.USE_CASHING and self.stock_cache != [] and not force_reload:

cira/portfolio.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from alpaca.trading.client import TradingClient
44
from . import auth
55
from . import config
6-
from .asset import Stock
6+
from .asset_stock import Stock
77

88

99
class Position:

0 commit comments

Comments
 (0)