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?
1 Answer
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:
-
$\begingroup$ Do you need to have authentication to access the end-point in the long run? $\endgroup$– vicMay 10 at 3:51
-