shilewenuw / get_all_tickers

Get all publicly traded tickers with this library
MIT License
268 stars 123 forks source link

get_tickers() method not working in production (AWS Lambda, EC2, Digital Ocean etc) #6

Closed pythoneast closed 3 years ago

pythoneast commented 3 years ago

I use your library for getting tickers from exchange markets. But unfortunately get_tickers() method works only locally on my PC. In production (AWS Lambda, AWS EC2, Digital Ocean) it doesn't work and just lags. You use requests library in your method, it doesn't get response from nasdaq and keep waiting until timeout. Can you tell me what is the reason? How can I achieve working of the method in production? Thank you in advance

holeyness commented 3 years ago

Also having this problem

holeyness commented 3 years ago

I'm pretty sure it's an anti scraping issue

shilewenuw commented 3 years ago

as @holeyness mentioned, anti-scraping features makes it so that this only works on a PC. Please note that this package is probably best for research and hobby purposes, for production, I'd suggest a higher quality paid service.