SimpleFunctions

Context.

The whole market in one call. No auth. CC-BY-4.0.

3000 prediction markets across Kalshi and Polymarket, condensed by an LLM into eighteen topic groups, cross- category highlights, traditional-market snapshot, live thesis edges, and evaluation signals. A few hundred tokens — drop the JSON straight into your agent prompt.

Last scan Aug 7, 06:03 AM · K 3000 · PM 0 · 3,000 markets

Abraham Cresques in his Barcelona workshop completing the 1375 Catalan Atlas — a vellum chart with compass roses, the Sahara caravan toward Mansa Musa of Mali, port flags, and a brass astrolabe; an apprentice grinding lapis lazuli pigment

Catalan Atlas · Cresques 1375 — geography, politics, astronomy, and trade routes pressed into one parchment. The original world-context bundle.

What ships in one call

Seven sections. ~few-hundred tokens total. No auth.

The bundle is shaped for an agent's next decision, not for human browsing. Categories rank by 24h volume, highlights surface what cannot be missed, edges and signals come from the active thesis loop.

categories

18 topic groups (macro, crypto, policy, sports), each with topMovers + mostLiquid lists.

highlights

LLM-curated cross-category callouts with related tickers and suggested commands.

traditional

Real-time SPY, VIX, gold, oil, BTC snapshot — context for prediction-market repricing.

edges

Live thesis-vs-market edges from active public theses, depth-scored, top 8.

signals

Recent thesis evaluations: confidence delta, summary, citation per signal.

meta

Total markets scanned · K/PM split · scan timestamp · LLM token budget.

licensing

CC-BY-4.0; attribute simplefunctions.dev. Drop the JSON straight into agent prompts.

Traditional snapshot

SPY
768.13
-0.5%
QQQ
715.5
-0.3%
IWM
298.17
-0.5%
VIXY
19.55
-1.5%
SHY
81.81
-0.1%
IEF
93
-0.3%
TLT
82.31
-0.9%
HYG
79.45
0.0%
GLD
388.96
-0.1%
USO
119.69
+4.3%
UNG
9.62
-1.2%
CPER
40.76
-0.2%
UUP
28.18
+0.3%
FXE
106.31
-0.2%
XLE
58.15
+1.5%
EEM
65.04
-0.8%
IBIT
36.5
-0.6%
ETHE
15.38
-0.4%

What matters right now

Oil Prices Surge 4%+; WTI Prediction Markets See Heavy Volume

USO Oil ETF jumped 4.28% and WTI prediction markets show significant volume shifts, with multiple contracts repricing higher. Key contracts to watch: KXWTIMAX-26DEC31-T120 (22¢, vol 6668) and KXWTIMIN-26DEC31-T55 (11¢, vol 3394).

KXWTIMAXKXWTIKXBRENTMONKXAAAGASM

sf query "WTI oil price forecast" | sf book KXWTIMAX-26DEC31-T120

Fed September Meeting in Focus; 0 bps Hike at 49¢ on 351k Volume

September 2026 FOMC meeting markets show near 50/50 odds of a hike vs hold, with total volume over 400,000. The cumulative rate cut count market (KXRATECUTCOUNT-26DEC) prices zero cuts at 86¢.

KXFEDDECISION-26SEP-KXRATECUTCOUNTKXFEDKXCPIKXGDP

sf book KXFEDDECISION-26SEP- | sf query "fed funds rate September"

Election 2026 Markets Active; Florida Primary and Senate Control Key

Election 2026 markets dominate the prediction landscape. Florida Governor primary has over 2 million combined volume. Senate control is tight (R 53¢), House leans Democratic (83¢). South Carolina special primary sees tight three-way race.

KXGOVFLNOMR-26-BDKXGOVFLNOMR-26-JFISCONTROLS-2026-RCONTROLH-2026-DKXSCRSENS-26-DNOR

sf query "2026 Florida governor primary" | sf book KXGOVFLNOMR-26-BD

Live thesis edges

K18¢edge +60¢Will the maximum WTI front month settle price reach $125.01 fertilizer-shock-farm-crisis
K15¢edge +60¢How high will the price of fertilizer get this year?fertilizer-shock-farm-crisis
K16¢edge +60¢Will the rate of CPI inflation be above 3.4% for the year enfertilizer-shock-farm-crisis
K22¢edge +59¢Will the WTI front-month settle oil price be >91.99 on Nov fertilizer-shock-farm-crisis
K7¢edge +59¢Will CPI rise more than 0.2% in July 2026?fertilizer-shock-farm-crisis
P26¢edge +59¢What will Kevin Warsh say during June Press Conference?: Deppowell-warsh-fed-succession
K83¢edge +58¢Will Iran’s average daily crude oil production for July 2026fertilizer-shock-farm-crisis
P7¢edge +58¢May Inflation US - Annual: ≥4.4%fertilizer-shock-farm-crisis

Recent thesis evaluations

28%No material change in thesis confidence. Market signals regarding Hormuz transit and food prices show high volatility bu
fertilizer-shock-farm-crisis · 45m ago
14%Confidence increased slightly due to rising friction in the Strait of Hormuz (MARAD advisory) despite a sharp drop in ma
doge-federal-capacity-crisis · 47m ago
25%Recent data reinforces the 'Fed holds' stance but shows persistent economic resilience, slightly lowering the probabilit
powell-warsh-fed-succession · 47m ago
26%No material news or structural changes occurred this cycle; price movements were noise-driven and align with previous vo
california-governor-2026-mahan-underpriced · 48m ago
29%No material developments occurred in the primary causal nodes this cycle; confidence adjusted slightly downward to refle
cali-governor-election · 48m ago

Why a curated context beats raw markets

ApproachWhat it gives youWhere it breaks

Bloomberg dashboard

Best curated market screen money buys

No prediction-market integration; no agent-readable shape; no thesis context

Raw markets dump

Total coverage

Too large for agent context; no curation; no actionable framing

Custom scraper

Full control over the schema

Months of work; no LLM curation; no calibration; no settlement awareness

SimpleFunctions context

One call · LLM-curated · agent-shaped

Designed for the next tick decision, not for browsing

Six patterns that consume context

Same JSON; different downstream. The shape that repeats: an agent or a human reading the bundle and deciding what to do next.

Agent prompts

Embed sf.context JSON in the system prompt; agent reasons about today's tape.

Morning briefing

CLI sf context piped to your IC pack — categories + highlights + signals.

Slack / TG bots

Highlights → Slack message every heartbeat; only the changed callouts surface.

Research pipelines

Backtest replay context as features alongside per-tick orderbook history.

Public dashboards

CC-BY-4.0 — drop into your own dashboard; attribute simplefunctions.dev.

LLM training corpora

Daily HF dump of context bundles — clean signal for training prediction-market agents.

Context endpoints

Same JSON across CLI, REST/Data API, MCP adapter, and historical snapshots. Drop into any agent or pipeline.

API reference

FAQ

What does the global context endpoint return?

A curated bundle: categories (with top movers and most-liquid contracts per category), cross-category highlights (with actionable tickers and suggested commands), traditional market snapshot (SPY, VIX, gold, oil, BTC), live thesis edges, recent evaluation signals. ~3,000 markets scanned, condensed to a few hundred tokens designed to drop into an agent prompt.

How is this different from /api/public/markets?

markets is the raw catalogue. context is the curated, decision-shaped subset: only what an agent or PM should react to right now. Highlights have plain-English descriptions and ticker links; categories rank by 24h volume; edges and signals come from active public theses.

How often is it refreshed?

Categories and highlights are LLM-curated twice daily. Edges and signals refresh on every heartbeat tick (15 min). Traditional market snapshot is real-time. The endpoint cache is ~30s; pull it as fast as you like.

Do I need an API key?

No. /api/public/context is CC-BY-4.0 licensed and available on the free tier with rate limits. Authenticated thesis-specific context (per-thesis tree state) is metered and key-gated.

How do I drop this into an agent?

Three lines: agent reads sf.context (or GET /api/public/context), embeds the JSON in its prompt, takes action via sf.intent.create. The bundle fits in ~few hundred tokens; agents can pull on every loop without context-window pressure.

What are highlights actually?

LLM-curated cross-category callouts: an event the system thinks the agent should not miss (a Fed pivot, a CPI surprise, a Polymarket sports liquidity hot spot). Each highlight ships with related tickers and a suggested follow-up command.

Categories — by what taxonomy?

Eighteen topic groups: macro (oil, Fed, CPI, recession, treasury yields, geopolitics, tariffs, elections, govt shutdowns, central banks), crypto (BTC/ETH/SOL ladders + ETF flow + halving), policy (legislation, executive actions, regulatory), and sports (EPL, NBA, UCL, CS2, IPL, NFL). Each category gets its own movers + liquid list.

How is global context different from thesis context?

Global context shows the market as a whole — categories, movers, highlights. Thesis context layers your model on top: causal tree with thesis-implied prices, edges where your view disagrees with the market, kill-condition status, track record. Global is no-auth; thesis is BYOK.

Cost?

Public global context endpoint is free, CC-BY-4.0. Per-thesis context is metered. Webhook delivery free. WebSocket /v1/ws free for read.

Backtest / historical?

GET /api/public/context?at=2026-04-01T12:00 returns the historical snapshot at that timestamp. Daily Hugging Face dump under SimpleFunctions/context (CC-BY-4.0) ships the full archive.

Related surfaces