JECSand / yahoofinancials

A powerful financial data module used for pulling data from Yahoo Finance. This module can pull fundamental and technical data for stocks, indexes, currencies, cryptos, ETFs, Mutual Funds, U.S. Treasuries, and commodity futures.
https://pypi.python.org/pypi/yahoofinancials
MIT License
899 stars 214 forks source link

Get list of yahoo ticker symbols from "foreign" IDs, such as ISIN #51

Open AiDataSciencer opened 4 years ago

AiDataSciencer commented 4 years ago

Yahoo ticker symbols are quite uncommon. In order to find securities systematically one usually uses IDs like ISIN / SEDOL or Bloomberg Tickers. Since yahoo made up it's own representations, it would be more than useful to translate a list of "foreign" IDs (e.g. the ones I mentioned) into yahoo tickers. Does anayone know of an approach to achieve this using this repo or an alternative workaround?

MartinDawson commented 3 years ago

This would actually be really useful.

For my case I'm just using tickers. For example LSE:BOTB in yahoo finance is BOTB.L.

I presume it's a simple mapping for tickers in countries for my case.