fix: Resolve syntax error in get_current_prices function
This commit is contained in:
parent
1416d1b912
commit
cfa3e67417
@ -419,7 +419,7 @@ def get_current_prices(tickers: list) -> dict:
|
||||
else:
|
||||
# Handle multiple tickers
|
||||
for ticker in tickers:
|
||||
if (ticker, 'Close') in
|
||||
if (ticker, 'Close') in data:
|
||||
prices[ticker] = data[ticker]['Close'].iloc[-1]
|
||||
|
||||
return prices
|
||||
|
||||
Loading…
Reference in New Issue
Block a user