I'm using pandas_datareader.data.DataReader and I need to list every ticker available to fetch information from, using yahoo as data source. Is there a method to list them? I've been sent to this web https://www.nasdaq.com/market-activity/stocks/screener, but I want to do it within a python program. Could it be possible?
Asked
Active
Viewed 4,847 times
1 Answers
1
You can download that csv file using a GET request to url or with pandas directly into a DataFrame https://api.nasdaq.com/api/screener/stocks?tableonly=true&limit=25&offset=0&download=true
Alternatively, you can check some Python packages to get financial data from Yahoo! like the following:
Nick
- 66
- 6
-
Do you need to have authentication to access the end-point in the long run? – vic May 10 '23 at 03:51
-
Looks good, no authentication needed – Derek Chia Jun 25 '23 at 03:10