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 web terminal at app.simplefunctions.dev is the visual surface: live orderbook, candle charts, watchlist, positions, P&L, and one-click trading.

Sign in

Go to app.simplefunctions.dev and log in with the same email you used for the CLI. Sessions are Supabase-backed; the same identity drives both the CLI and the web terminal.

Pair Kalshi or Polymarket

Open the Connections drawer:
  • Kalshi: paste your Kalshi key id and private key. Stored encrypted in your account.
  • Polymarket: connect your wallet via WalletConnect or paste the address.
Read-only positions work without trading scopes; live trading requires keys with write permission.

Watchlist and alerts

The watchlist tab is backed by the same /api/watch/* endpoints as the CLI. Anything you add via sf watchlist add shows up here, and vice versa. To set up an alert from the web terminal:
1

Click a market

From your watchlist, click the market you want to monitor.
2

Add alert

Click Add alert in the market detail panel.
3

Pick a condition

Price threshold, regime change, or indicator threshold.
4

Pick a delivery channel

Email, webhook, or Telegram.
The same alert system is documented in detail at Watchlist + alerts.

Public data API

The terminal serves real-time market data over HTTP and WebSocket at data.simplefunctions.dev. See Real-time data for the full v1 API.
curl https://data.simplefunctions.dev/v1/markets?venue=kalshi&limit=10 \
  -H "Authorization: Bearer $SFT_KEY"

Next steps

Real-time data API

REST + WebSocket frame shapes.

Watchlist + alerts

Watch, alert, and webhook integration.

Portfolio autopilot

Cloud autopilot setup.