Documentation

Build, test, and deploy trading agents.

Everything from the first paper trade to production MCP, CLI, API calls. If you're brand new, start with the quickstart below.

Quickstart

Your first agent, in about 5 minutes

Every step works on paper trading first - no credit card, no exchange required.

Start now
Step 1

Describe your strategy

Paste Python, Pine Script, or a plain-English recipe. No template hunting - the AI will interpret any sensible phrasing.

Step 2

Review the parsed rule

We show you the canonical rule we generated. Tweak indicators, timeframes, risk controls, and allocation before it goes near an exchange.

Step 3

Connect an exchange

Binance, Coinbase, Kraken (spot + perps), or Hyperliquid. Or skip and start on paper trading with a virtual $10,000.

Step 4

Deploy & monitor

Watch the agent in the dashboard: live P&L, benchmark vs BTC / S&P, proximity bars for each trigger, and a full audit log.

Example

What a real strategy looks like

You can write it exactly like this, or describe the same idea in plain English. The AI produces a canonical rule object with indicators, timeframes, entry/exit clauses, and risk controls - which you can still hand-edit before deployment.

strategy.rule
// Momentum breakout on BTC/USDT, Binance, 1h
// Entry:  RSI(14) crosses above 55 AND price > EMA(50)
// Exit:   Take-profit +6% OR trailing stop 3% OR RSI < 40
// Risk:   4% of portfolio per trade, max 3 concurrent positions

when RSI(14, 1h) crosses above 55 and close > EMA(50, 1h):
  buy BTC/USDT with 4% of portfolio

when RSI(14, 1h) < 40 or profit >= 6% or trailing_stop(3%):
  sell all BTC/USDT

Everything in the docs

Jump straight to the area you're working on.

Open the help center

Strategy language

Entry/exit conditions, indicators (RSI, MACD, Bollinger, SMA/EMA), multi-timeframe stacks, and compound triggers - what the AI will and won't accept.

Read more

Indicator reference

All supported indicators with the parameters the engine expects, sensible defaults, and the candle intervals that are backed by a real market data feed.

Read more

Exchange integrations

Per-venue setup: API key scopes, symbol formats, rate limits, perp vs spot differences, and the quirks to watch on Coinbase / Kraken / Hyperliquid.

Read more

Risk management

Stop-loss, take-profit, trailing stop, portfolio-level drawdown cap, max concurrent positions - the automatic guardrails each strategy gets for free.

Read more
Pro

TradingView signals

Turn a TradingView alert into a Coinrule trigger with a webhook URL. Secret handshake, payload shape, idempotency keys.

Read more

Paper trading & backtesting

How the sandbox simulates fills, slippage, fees, and partial fills. When paper results stop predicting live ones - and what to do about it.

Read more
Pro

API reference

REST endpoints for strategy create / stop / list, event history, exchange accounts, prices, and webhook ingestion. Auth is Privy JWT in the Authorization header.

Read more

Billing & credits

Plans, overage, credit consumption per event type, invoices, proration and refunds. What happens when you go over limit (spoiler: nothing drastic).

Read more

Webhooks & notifications

Push trade events, errors, and proximity alerts to Telegram, email, or your own webhook endpoint. Includes retry policy and signing.

Read more

More resources

Beyond the docs - other useful surfaces.

Ready to ship your first strategy?

Paste anything - Python, Pine Script, plain English. Paper trade in 60 seconds, go live when you're confident.