ranaroussi / yfinance

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

[Feature Request] Include Stock Peers Dictionary #2054

Open sshcli opened 1 month ago

sshcli commented 1 month 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 3 weeks ago

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

sshcli commented 3 weeks 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 3 weeks ago

Try #2058