Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.simplefunctions.dev/llms.txt

Use this file to discover all available pages before exploring further.

The SimpleFunctions Index (SF Index) is a composite that summarizes the prediction-market state of the world: macro, geopolitical, fiscal, monetary, and tail-risk indicators rolled into a single number.

Inputs

  • Top liquid markets across selected themes (fed_monetary, tariff_trade, us_fiscal, iran_crisis, ukraine_russia, china_taiwan, oil_energy).
  • Per-market implied probability, weighted by liquidity and recency.
  • Cross-venue agreement bonus.

Compute cadence

Updated every 5 minutes by the scan-prices and indicator pipeline. Persisted to sf_index_history with timestamp.

Surfaces

  • CLI: sf index --json, sf index history --json
  • API: GET /api/public/index, GET /api/public/index/history
  • MCP: surfaced inside get_world_state
  • Web: hero on simplefunctions.dev and prediction-market-index landing.

Versioning

The methodology has shipped two versions:
  • v1 — initial composite, deprecated.
  • v2 — current. See drizzle/0006_sf_index_v2.sql.

Next steps

How it works

The end-to-end SF compute loop.

Snapshots

Historical index data is part of the daily R2 + HF dump.