Updated dependencies, fixed typo

This commit is contained in:
Kate 2021-03-17 14:35:44 +00:00
parent 4e05e6f487
commit 005bf04a2d
2 changed files with 3 additions and 1 deletions

View file

@ -48,6 +48,8 @@ CacheControl = "==0.12.6"
Cycler = "==0.10.0"
Pillow = "==8.1.0"
mongoengine = "*"
kaleido = "*"
plotly = "*"
[dev-packages]

2
yfi.py
View file

@ -19,7 +19,7 @@ def stock_history(ticker, timespan="6mo", interval="1d"):
if not stock_exists(ticker):
return False
return yf.Ticker(stock).history("6mo", interval="1d", prepost=True)
return yf.Ticker(ticker).history("6mo", interval="1d", prepost=True)
def get_current_price(ticker):