Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.48 KB

README.md

File metadata and controls

41 lines (26 loc) · 1.48 KB

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

  • Beautiful CSS styles
  • Fully responsive (mobile, tablet, desktop, TV) using salvattore.js
  • Ticker symbols link to Yahoo Finance stock pages
  • Increased market capitalization precision

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.