API · Build

A trading bot is maybe 20% edge and 80% plumbing — auth and signing, reconnects, paper mode, risk gates, order management, a backtest harness. The plumbing is where weeks disappear and where most bots break in production. This is a starter kit that gives you the boring 80% done right, CLOB V2 / pUSD, in Python and Rust — so you can spend your time on the one part that's yours: the edge.

What it is — and isn't. It's the infrastructure: clients, reconnect loops, a paper-trading engine, risk limits, order lifecycle. It contains no signal, no strategy, no thresholds — those make money and stay yours. We never ship an edge.

Start free — today

The free scaffold is live right now and enough to ship a safe paper bot:

  • AGENTS.md rules — drop into your repo so Claude Code / Cursor write correct V2 code from the first prompt.
  • Read-only / paper MCP server — live market data + an off-chain paper_quote sandbox, no keys (install it).
  • Claude Code skill — scaffolds a paper-first bot grounded in real markets.
  • The recipes — copy-paste the auth, book-read, and order calls.

The Pro starter kit

A complete, production-grade repo (Rust hot path + Python research), maintained against the moving V2 SDKs:

ModuleWhat you get
Auth & signingAll signature types incl. the deposit-wallet (POLY_1271) flow that only Rust handles today.
ConnectivityWebSocket market + user feeds with heartbeat, auto-reconnect, and REST-snapshot resync.
Paper engineRealistic fill simulation (top-of-book, spread, volume-walk, fees) so paper ≈ live.
RiskPosition & loss caps, dual-gate live trading (--live + explicit flag), kill switch, cooldowns.
OrdersGTC/GTD/FOK/FAK, cancel-all, NegRisk, pUSD approvals, balance/allowance preflight.
BacktestA harness + the honest-methodology template (forward-walk, realistic fills) — bring your signal.
OpsMulti-account, env-only secrets, structured logging, crash-resume.
Get the Pro kit. It's in active build. Subscribe below (or reach out) for early access and the launch price. The free scaffold above gets you trading on paper in the meantime.

Why a kit beats starting from scratch

Every line above is something we hit in production: a deposit wallet that wouldn't sign, a WebSocket that drifted from the book, a paper bot that looked great then bled live because the fill model was naive, a "safe" script that placed a live order at 3am. The kit encodes those lessons so you don't relive them.

Educational infrastructure, not financial advice. The kit ships no trading edge; most bots lose money. Trade in paper mode and review before going live.

Next: Build with AI (free scaffold) · Recipes · The full 32-chapter bot series.