Skip to content

Commit

Permalink
fixed imports problem
Browse files Browse the repository at this point in the history
  • Loading branch information
AxelGard committed May 7, 2024
1 parent 3c3d75f commit 0d66805
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cira/exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion cira/portfolio.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0d66805

Please sign in to comment.