A self-contained script that reads the latest Blended Index, pulls its full history, and overlays it on the longer-history Informational Index — the standard pattern for charting a high-signal series against a clean long-run baseline.

What this does

  1. Current index — reads the latest Blended Index value for the Hopper family (US, combined)
  2. Transaction history — pulls the full smoothed series within the 730-day window
  3. Informational baseline — pulls the Informational Index, which has no days_back cap and real data back to early 2024
  4. Overlay — merges the two on date, giving a long baseline with the high-signal transaction series layered on top
All index values are smoothed and denominated in $/GPU-hr. Most carry a p5/p95 envelope (p5 ≤ index_value ≤ p95) you can plot as a confidence band — but treat p5, p95 and txn_count as optional on the Blended Index. The scopes General Index administers (hopper, blackwell, h100) return null for all three, because GX publishes no envelope or transaction counts.

Customizing

  • Switch GPU family — set GPU_FAMILY = "blackwell" for the Blackwell series.
  • Per-GPU daily series — swap gpu_family for gpu_group (h100, h200, a100, b200, b300) on the txn-index calls. The two parameters are mutually exclusive — sending both returns 400.
  • Index vs. legindex_type=blended_sigmoid (default) is the blended index: a sigmoid-weighted blend of the settled-trade leg and a posted-price leg. index_type=raw returns the transaction leg alone, EWMA-smoothed.
  • Intraday — for 30-minute per-GPU-model indices, use the Intraday Index endpoints (requires the custom-index scope).