Skip to content
Public template

About

Static stock and crypto watchlist: light and dark ticker logos from logoapi.sh, plain HTML, no key

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

watchlist-example

A static stock and crypto watchlist: 10 symbols (stocks, an ETF, coins), each logo in light and dark. Plain HTML, no framework, no build needed to view.

Open in StackBlitz

StackBlitz installs stock-ticker-logos from npm and runs the build.

Live demo: logoapi.github.io/watchlist-example. Or open index.html in a browser.

Each logo is one URL, no key:

<img src="https://logoapi.sh/ticker/AAPL.svg" alt="AAPL logo" width="32" height="32">
<img src="https://logoapi.sh/dark/ticker/BTC.svg" alt="BTC logo" width="32" height="32">

The URLs come from the stock-ticker-logos package (url() and darkUrl()). To change the symbols, edit WATCHLIST in build.mjs, then:

npm install
npm run build

Using React? react-stock-logo renders the same logos as a component:

import { StockLogo } from 'react-stock-logo';

<StockLogo ticker="AAPL" theme="dark" shape="square" size={32} />

Ticker and crypto logo URLs: no rate limit, no key. Docs: logoapi.sh/docs.

License: MIT.

About

Static stock and crypto watchlist: light and dark ticker logos from logoapi.sh, plain HTML, no key

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages