Hi Professor,
The link of this code does not work:
sp500 = pd.read_csv(“https://open-data.s3.filebase.com/sp500.csv”,
index_col=‘Symbol’,
usecols=[0, 2, 3, 7])
Is there a way to get access?
Hi Professor,
The link of this code does not work:
sp500 = pd.read_csv(“https://open-data.s3.filebase.com/sp500.csv”,
index_col=‘Symbol’,
usecols=[0, 2, 3, 7])
Is there a way to get access?
Hi, filebase deleted all of my data, and they have no recovery process. So I don’t have access to this file anymore. For some of the other code you can download the latest like so:
!pip install yfinance
import yfinance as yf
data = yf.download('MSFT')
Edit: Actually, I found a file you can test: https://raw.githubusercontent.com/firmai/random-assets-two/master/sp500.csv