Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

MARKET//SCOPE

A single-file retro terminal that overlays Ethereum against the stock market (Dow Jones by default), with optional FTSE 100, Bitcoin, S&P 500 and Nasdaq. No build step, no backend — one index.html.

One-time setup (the only step)

Crypto (ETH/BTC) works with zero config. Stock indices need a free key — there is no open, keyless index feed the way CoinGecko is open for crypto. You add the key once, in the file, and then there's no key UI at all:

  1. Get a free key (10 sec, no card): https://twelvedata.com/pricing
  2. Open index.html, find this line near the top of the <script>:
    const BAKED_KEY = "";
    Paste your key between the quotes: const BAKED_KEY = "abc123...";
  3. Deploy. The key bar and the [KEY] locks vanish; indices just load.

Static-site reality: the key is visible in the deployed page source to anyone who opens the URL. For a free, rate-limited personal key that's an acceptable trade. To truly hide it you'd need a tiny serverless proxy (e.g. a Cloudflare Worker) instead of plain GitHub Pages — ask if you want that.

If you leave BAKED_KEY = "", the page falls back to an on-page key input box, so the same file works either way.

Deploy to GitHub Pages

  1. Put index.html in the repo root.
  2. Settings → Pages → Source: Deploy from a branch, branch main, folder / (root).
  3. Wait ~1 min and open the URL. (Also works on Netlify/Vercel or straight off disk.)

Ranges

1D and 1W are intraday (5-min and hourly bars, right up to the current minute); 1M / 3M / 6M / 1Y are daily. Indices only have data during market hours, so on weekends/holidays the index lines simply pause while crypto keeps going.

View modes

  • INDEX·100 — every line rebased to 100 at window start. The clean read on "did ETH move more than the market, and which way." Default.
  • PRICE — raw prices, with LOG / LINEAR (LOG keeps a ~50,000 Dow and a ~$1,700 ETH legible together).
  • OVERLAY — rebased, but each line gets a gain slider to shrink ETH's bigger swings onto the market's amplitude. AUTO-FIT does it by matching each line's volatility to the index's.

Hover anywhere for a synced crosshair readout. Range, mode, series and any on-page key persist between visits.

Data: CoinGecko (crypto, keyless) · Twelve Data (indices). Not investment advice.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages