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$
    – vic
    May 10, 2023 at 3:51
  • $\begingroup$ Looks good, no authentication needed $\endgroup$
    – Derek Chia
    Jun 25, 2023 at 3:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.