tosin2013 commited on
Commit
ae672d5
·
verified ·
1 Parent(s): e8054d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ import pandas as pd
15
  from datetime import datetime
16
 
17
  # Function to import stock data using Alpha Vantage
18
- def import_stock_data_alphavantage(tickers, api_key, start='2024-1-01', end=datetime.today().strftime('%Y-%m-%d')):
19
  data = pd.DataFrame()
20
  ts = TimeSeries(key=api_key, output_format='pandas') # Initialize TimeSeries with your API key
21
  if isinstance(tickers, str):
 
15
  from datetime import datetime
16
 
17
  # Function to import stock data using Alpha Vantage
18
+ def import_stock_data_alphavantage(tickers, api_key, start='2023-1-01', end=datetime.today().strftime('%Y-%m-%d')):
19
  data = pd.DataFrame()
20
  ts = TimeSeries(key=api_key, output_format='pandas') # Initialize TimeSeries with your API key
21
  if isinstance(tickers, str):