Updated dependencies, fixed typo
This commit is contained in:
parent
4e05e6f487
commit
005bf04a2d
2 changed files with 3 additions and 1 deletions
2
Pipfile
2
Pipfile
|
@ -48,6 +48,8 @@ CacheControl = "==0.12.6"
|
|||
Cycler = "==0.10.0"
|
||||
Pillow = "==8.1.0"
|
||||
mongoengine = "*"
|
||||
kaleido = "*"
|
||||
plotly = "*"
|
||||
|
||||
[dev-packages]
|
||||
|
||||
|
|
2
yfi.py
2
yfi.py
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue