1
$\begingroup$

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?

$\endgroup$

1 Answer 1

1
$\begingroup$

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:

$\endgroup$
2
  • $\begingroup$ Do you need to have authentication to access the end-point in the long run? $\endgroup$ Commented May 10, 2023 at 3:51
  • $\begingroup$ Looks good, no authentication needed $\endgroup$ Commented Jun 25, 2023 at 3:10

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.