alvarobartt / investpy

Financial Data Extraction from Investing.com with Python
https://investpy.readthedocs.io/
MIT License
1.59k stars 374 forks source link

Get list of stocks in a country? #556

Open gahoccode opened 2 years ago

gahoccode commented 2 years ago

Hi,

Is there a way I can get a list of all stocks available in a country of choice? I'm trying to make a stock screener based on technical indicator's buy/sell signal #284 . Having trouble getting all stocks symbol in a country. Or maybe you could add a stock screener function to quickly scan for stocks that'd be extremely powerful. Got this idea from https://www.youtube.com/watch?v=OhvQN_yIgCo and totally hooked! It'll save so much time as you don't have to run technical indicator's buy/sell signal on individual stock.

vincentli2017 commented 2 years ago

I believe you can first call investpy.get_stocks() and iterate the results.

datatalking commented 2 years ago

@vincentli2017 I was looking for a list in total of what the README.md says the repo offers. How do people know what stocks, or security to analyze if there is no list? I could help add one for documentation.