This script will download the historical stock prices from Yahoo Finance and save it in a SQLite database for later use.
It can be parallelized but don't want to risk getting blocked by Yahoo.
git clone https://github.com/haochi/stock_prices_downloader.git
to clone this reponpm install
to install the dependencies.- Create a
tickers.js
file with a list of stock tickers that you want to download. Seetickers.example.js
for an example. node index.js
to start running. This might take a while depending on how many tickers you are fetching.