An open API service indexing awesome lists of open source software.

https://github.com/nodesocket/stocks-dashboard

A free, lightweight, and beautiful static dashboard for stock quotes using the IEX API
https://github.com/nodesocket/stocks-dashboard

iex salvattore static-site stock-data stock-market stock-prices stock-quotes stocks

Last synced: 9 days ago
JSON representation

A free, lightweight, and beautiful static dashboard for stock quotes using the IEX API

Awesome Lists containing this project

README

          

# stocks-dashboard

A free, lightweight, and beautiful static dashboard for stock quotes using the [IEX API](https://iextrading.com/developer/). 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](https://salvattore.js.org/)
- Ticker symbols link to Yahoo Finance stock pages
- Increased market capitalization precision

## Screenshot

![sample stocks-dashboard](https://i.imgur.com/WNzVRQ0.png)

## Customize

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

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

Note you can provide multiple portfolios:

```js
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](https://iextrading.com/developer/docs/), but usage is subject to their [terms of service](https://iextrading.com/api-terms/).

## Browser compatibility

The page uses the [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API), which means it does not work with Internet Explorer.