baumi's blog

baumi's personal blog … Linux, OS X, Windows, Random things, …

October, 2018

Free historic stock data

1. Register free API key for https://www.alphavantage.co/ 2. API documentation: https://www.alphavantage.co/documentation/ 3. Download data: curl “https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=TSLA&interval=5min&apikey=YOURAPIKEYHERE&datatype=csv” –output tsla.csv