SimpleFunctions

Prediction-market infrastructure.

Venue and alternative data, computed indicators, execution and institutional research, liquidity provision — across Kalshi and Polymarket. For institutional clients and agent-native consumption.

npm install -g @spfunctions/cli

Prediction markets currently indicate a low, 19% probability of a US recession occurring by the end of 2026. The economy remains resilient with an unemployment rate of 4.3% as of April 2026, though specific forecasts for a 'soft landing'—defined as unemployment below 5.0% and inflation below 3.5%—are viewed with skepticism by traders at only 18% likelihood.

46.9s·4 factors·Kalshi 5 + Polymarket 3
·19% recession probability
·4.3% unemployment rate
·18% soft landing probability
·steady consumer and labor metrics
Disagreement7d
Geo Risk7d
Breadth7d
Activity7d
Disagreement 57Geo Risk 23Breadth +0.44Activity 43
0¢Will average **gas prices** be above $4.430?: Above 4.430
0¢Will average **gas prices** be above $4.435?: Above 4.435
[lag]Oklahoma Governor Democratic Primary Winner: 3 markets deeply split (σ=43¢, range 92¢)0¢
[lag]Joe Walsh be the Democratic nominee for the …: 3 markets deeply split (σ=43¢, range 92¢)0¢
[lag]South Carolina Democratic Senate Primary Win…: 3 markets deeply split (σ=43¢, range 91¢)0¢
China GDP growth rate YoY for Q2 be a… lagging Italy GDP growth rate YoY adv for Q2 … — 69¢ gap [US fiscal / recession]
UT-02 House Election Winner overshooting Republican win the House race for MI-… — 53¢ gap [US Elections]

One API call that compresses the world's markets into 800 tokens.

View /world →

Thesis-Based Realtime Market Monitoring.

View /ai-agents →Read the thesis docs
> find contracts yielding over 300% annualized, expiring in more than 30 days, with daily volume above $50,000. set triggers to buy. only execute if oil is trading above $95.
Screened 4,200 active markets. 3 match your criteria.
KXRECSSNBER-2642¢buy below 40¢
KXFEDCHAIRCONFIRM95¢filled 500 @ 94¢
KXOIL-100DEC2561¢buy above 65¢
All three intents are armed. Oil gate active — I won't execute until WTI clears $95. Checking every 60 seconds. I'll send you a Telegram message when something fills or the gate condition changes.
> |
$ sf portfolio enable
Kalshi API key encrypted and stored. Schedule set. Dry-run mode active.
$ sf portfolio view add
"Recession risk is underpriced"
--conviction 5 --horizon 2026-12-31
$ sf portfolio trigger
SCANNED4,200 markets
POSITIONS12 active
ACTION+2 entries, 1 exit
HANDOFFwritten for next tick
7 risk gates passed. Handoff note saved. Next tick in 12h.

Autonomous Portfolio Management with Mechanical Risk Gates.

View /portfolio-autopilot →Read the portfolio docs
57/100
5/22 21:30Z5/29 21:30Zlive index →

Prediction Market Index.

View live index

Data Pipeline for makers and takers.

Open screener →

Real-time data feed across Kalshi and Polymarket. Every orderbook change, every price move, every resolution.

Screen endpoint filters thousands of active contracts by five quantitative indicators — implied yield, cliff risk, expected edge, liquidity score, and time decay.

Regime endpoint classifies each market as maker-favorable or taker-favorable based on spread, depth, and flow patterns.

Politics1,5000.007A+
Sports110,0000.030A
Climate8,8000.035A
Esports6,9000.034A
Crypto325,0000.225C
Economics33,0000.372D
lower Brier = better calibrated · 0 = perfect · 0.25 = coin flip
full calibration analysis →

Platform Calibration.

How well-calibrated are prediction markets? Brier score by category across 488,000 resolved contracts.

01 / 04
Current legislation regarding tariffs includes 119-s-4303, which targets electronic nicotine delivery, 119-s-952, which adjusts Harmonized Tariff Schedule whisky classifications, and 119-hr-407, the Prevent Tariff Abuse Act. Prediction markets indicate a low probability of new or increased tariff legislation becoming law, currently priced at 3% for enactment before July 1, 2026, and 6% before January 1, 2027.
Legislative tariff billsCommittee referral statusLow market probabilityTariff schedule amendments
4 bills5 markets12.1s
query-gov API →
Pnyx — query-gov for agents

Congress.gov for agents.

CLI + REST/API + MCP adapter for 425K bills, 538 members, and the prediction markets pricing each one.

View /query-gov →

SimpleFunctions Daily.

API docs →
Disagreement57/100
Geo Risk23/100
Breadth+0.44
Activity43/100
All markets

Hub coverage.

82 URLs

Indexable market hubs grouped by category, venue, and series. Each row has a page and a JSON twin.

C1 · category

15hubs

Live regime + 5-indicator panorama per vertical.

C1 · venue

2hubs

Side-by-side Kalshi vs Polymarket — categories, volume, calibration.

C2 · series

65hubs

Term curve / threshold ladder, every contract enriched with SF signal stack.

GET /api/public/markets/{type}/{slug}

15-minute refresh. Available via REST and CLI — GET /api/public/context / sf context.

Custom data, execution, liquidity.

Tuned indicators. Private latency tiers. Dedicated cross-venue routing. Direct integration into the desk stack — or your agent runtime.

For quant research desks, market makers, execution teams, and production agent deployments at scale.

Contact sales →