Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def today_tool(text: str) -> str:
|
|
34 |
This function always returns today's date."""
|
35 |
return str(date.today())
|
36 |
|
37 |
-
def
|
38 |
"""Returns historical stock data for given tickers from a start date to an end date
|
39 |
using the yfinance library download function.
|
40 |
Use this function for any questions related to getting historical stock data.
|
|
|
34 |
This function always returns today's date."""
|
35 |
return str(date.today())
|
36 |
|
37 |
+
def yf_download_tool(tickers: List[str], start: date, end: date) -> pd.DataFrame:
|
38 |
"""Returns historical stock data for given tickers from a start date to an end date
|
39 |
using the yfinance library download function.
|
40 |
Use this function for any questions related to getting historical stock data.
|