Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e494b1 commit 940228aCopy full SHA for 940228a
web/update_plots.py
@@ -53,7 +53,8 @@ def scrape_data():
53
def scrape_yahoo(id_):
54
BASE_URL = 'https://query1.finance.yahoo.com/v7/finance/download/'
55
now = int(datetime.now().timestamp())
56
- url = f'{BASE_URL}{id_}?period1=1579651200&period2={now}&interval=1d&events=history'
+ url = f'{BASE_URL}{id_}?period1=1579651200&period2={now}&interval=1d&' + \
57
+ 'events=history'
58
return pd.read_csv(url, usecols=['Date', 'Close']).set_index('Date').Close
59
covid = pd.read_csv('https://covid.ourworldindata.org/data/owid-covid-data.csv',
60
usecols=['location', 'date', 'total_cases'])
0 commit comments