ranaroussi / yfinance

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

[Feature Request] Include Stock Peers Dictionary #2054

Open sshcli opened 2 months ago

sshcli commented 2 months ago

This is not a bug. It's a feature request To complement with the fundamental data already available on Yahoo. The idea is to find all the peers for stocks in just one place:

We can start with a few stocks and keep adding on the go: https://github.com/sshcli/stock-peers/blob/main/peers.py

Thanks in advance for consider this

Regards,

@ValueRaider @ranaroussi @fredrik-corneliusson @asafravid @git-shogg @bradmetz @mreiche @ricardoprins @trenton3983 @thirumalairajr

ValueRaider commented 2 months ago

If you mean hardcoding this dict in yfinance - no. Stocks get listed & delisted frequently, the dict isn't static.

sshcli commented 2 months ago

\Stocks get listed & delisted frequently

I agree. It is not the best solution. That was just an idea of a possible solution. Even better if the dict could be updated automatically from data available at yahoo. I don't know

ValueRaider commented 1 month ago

Try #2058