nodesocket / stocks-dashboard

A free, lightweight, and beautiful static dashboard for stock quotes using the IEX API
MIT License
32 stars 4 forks source link
iex salvattore static-site stock-data stock-market stock-prices stock-quotes stocks

stocks-dashboard

A free, lightweight, and beautiful static dashboard for stock quotes using the IEX API. Fully responsive design that adapts to mobile, tablet, desktop, and TV. Stocks can be grouped into user-defined portfolios. Quotes update every 5 seconds. No API key required.

Based on the project @toddwschneider/stocks 🙏.

Improvements

Screenshot

sample stocks-dashboard

Customize

Edit the PORTFOLIOS variable within index.html. For example:

const PORTFOLIOS = [{'name': 'Portfolio', 'symbols': ['AAPL', 'BAC', 'BRK.B', 'SPY', 'F']}];

Note you can provide multiple portfolios:

const PORTFOLIOS = [
    {'name': 'Banks', 'symbols': ['BAC', 'MS', 'GS', 'C']},
    {'name': 'Tech', 'symbols': ['AAPL', 'AMZN', 'TSLA', 'NFLX']}
];

IEX API

You do not need to sign up for anything or get an API key to use the IEX API, but usage is subject to their terms of service.

Browser compatibility

The page uses the Fetch API, which means it does not work with Internet Explorer.