ranaroussi / yfinance

Download market data from Yahoo! Finance's API
https://aroussi.com/post/python-yahoo-finance
Apache License 2.0
12.91k stars 2.29k forks source link

Batch download for market cap? #742

Open cheungcn opened 3 years ago

cheungcn commented 3 years ago

Is there a way to batch download the market caps of a number of stock?

If I do it one by one, yahoo starts to limit my call to a snail pace.

Or anyone can suggest where can I find a list with market cap for US stocks?

ValueRaider commented 1 year ago

yahooquery retrieves fundamentals much faster. Probably yfinance can be improved to match, but their codebase is complex, hard to figure out what they do.