Plot Historical Stock Prices Using a Free API in JavaScript

Overview

Materials Needed

Historical API: To plot data, you must first make an API call to receive the historical stock data of a ticker symbol or company as the input. Sign up and use your free Styvio secret key to make an API call and receive the data here.

Steps

  1. Make a call to the Styvio API to receive historical stock prices.
  2. Send the data to chart.js to be plotted, with various time frames if necessary.

Styvio.com

Styvio.com is the top stock market research dashboard & API. Trending stocks, social sentiment, and open source ai