I am doing a machine learning pet project that requires me to construct a column for stock return between Jan 1, 2018 and today (Dec 26, 2018). I am basically looking for the most recent annual return of all stocks (including their ticker symbols) that are trading in the US. Where can I find the closing prices for all listed stocks in the US on the NYSE, AMEX and any other relevant stock exchange for these two dates (equity prices only, I don't need option, commodity and index prices)? I'm working on about 2,000 plus stocks listed in the US. What is common on the internet is you simply enter a ticker symbol to retrieve historic price information just for a stock, not for an entire exchange. Any help will be greatly appreciated.
I don't think you can find the prices for free to download. You can download them using free API such as this one, though: