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.

Two related surfaces:
  • Calendar — what’s resolving, when, across all venues.
  • Milestones — Kalshi’s native upcoming-events feed, filtered by horizon.

Calendar

sf calendar --json
sf calendar --json --since 24h
sf calendar --json --until 7d
Returns markets resolving in the window with the SF angle: implied probability, indicators, regime label, and category.

Milestones (Kalshi-native)

sf milestones --json
sf milestones --json --horizon 7d
Wraps Kalshi’s /milestones endpoint. Useful when you want venue-canonical event timing rather than SF’s normalized view.

Settlements

sf settlements --json --since 30d
sf settlements --json --thesis <id>
Returns resolved contracts you held, with realized P&L, exit reason, and (if --thesis is set) attribution to the originating thesis.

Forecast (Kalshi numeric series)

For numeric-outcome series, Kalshi exposes percentile forecasts:
sf forecast <event-ticker> --json
Returns P50/P75/P90 percentiles. Falls back from event ticker to series if not found.

Yield curves

sf yield-curve <event> --json
For events that span multiple resolution dates, returns the implied probability curve over time-to-resolve.

Next steps

Public data API

/api/public/calendar, /api/public/yield-curves.

Indicators

What each numeric field means.