← All guides

Create a backtest

Updated: 2026-11-14

There are three ways to start a run. Pick whichever is closest to where you are:

  • New backtest (the New run window, or Create Backtest in the registry) — the full form.
  • Constructor window — edit the strategy and press Save and run in the same place.
  • Run on a strategy row in the registry, or + Run on a strategy card.

Open a new backtest →

The first choice in the form is the market: Up/Down, Crypto or Stocks & derivatives. The form changes to match.

Up/Down runs

1. Market

Coin — the crypto asset whose Up/Down contracts the strategy trades. The list shows only coins that have recorded history. BTC has the most data and live volume; other coins have fewer markets per day and shorter history.

Contract type — 5m and 15m contracts are the most active. 1h, 4h and 24h contracts are rarer but give longer holding windows.

2. Date range

The calendar shows what data exists for each day in three stripes: Polymarket markets, Polymarket price ticks, and Binance spot ticks (indicators need them). A grey day has no data. Presets: 7d / 14d / 30d / 3M / 5M and ⤢ fit to data.

If your range includes days without data, the run button is blocked. Narrow the range or click ⤢ fit to data. One-day runs are allowed; the maximum is 365 days.

3. Capital and fees

Capital ($) — the virtual starting balance (1000 by default). All dollar metrics scale from it, so set the amount you’d really give a bot.

Fee model:

Polymarket (real curve):  fee = rate × p × (1 − p) × shares
Flat % (custom):          fee = rate × trade notional

The default “7” is the curve rate for the Crypto category, not 7% of the trade. The fee peaks at a price of 0.50, about 1.75% of notional there: 100 shares at 0.50 cost 0.07 × 0.5 × 0.5 × 100 = $1.75. Toward the edges it shrinks: 100 shares at 0.90 cost $0.63. A run can also use the rate recorded for the market; then the results show “market rate”. Flat 0% is for friction-free analysis only. Never make decisions from such a run.

Max drawdown % and Daily loss % — optional run limits. When hit, the run stops opening new positions; exits, take-profit and stop-loss keep working. Daily loss resets at UTC midnight. These are run settings: a live bot takes its limits from its own settings.

4. Strategy

Load strategy pulls a saved strategy into the editor below, or you build one from scratch. The editor is the same as in Strategies: Market · Position size · Entry conditions · Exit conditions · Entry time window · Market context filters · Circuit breakers. See Strategy builders and indicators.

The exchange minimum order is 5 shares. Any size passes in a backtest, but a live bot with a tiny Fixed $ or Fixed Shares below 5 can’t place orders. Keep sizes comfortably above the minimum.

Press Run Backtest. You can also Save to strategies without running.

Crypto and stock runs

The form has three steps.

1. Strategy. Choose one of your strategies for this market, or a library template. Coming from the builder, the strategy list or a template fills this in for you. Open in builder jumps to the strategy.

2. What to trade. Pairs for crypto (for example ETHUSDT, BTCUSDT) or Tickers for stocks (for example AAPL, MSFT). Pairs are checked against the exchange’s list as you type, with a “Did you mean…?” hint. Tickers are checked by the data source when the run starts. Market picks the instrument kind: crypto spot, crypto perpetual, or stocks & derivatives.

3. Period and money. Presets 6 months / 1 year / 2 years / 5 years or exact dates, capital, the data source and a benchmark ticker. If the source keeps short-timeframe bars for a limited number of days, the form says so and offers Use the last N days. Remember for this strategy saves these values with the strategy; leave it off to apply them to this run only.

Press Run backtest. The run appears in the registry right away; when it finishes, Results open.

Fees and slippage come from the strategy itself (by default 1 basis point of commission and 5 basis points of slippage). Set the real fee of your exchange or broker in the builder.

From the Constructor

The Constructor window keeps the strategy and the run together. A run line under the strategy holds the dates, capital, data source and fee. For Up/Down it’s the same coverage calendar; for crypto and stocks there are presets 6 mo · 1 yr · 2 yrs · All available.

Save and run saves the strategy (a new set of parameters becomes a new version on the strategy card) and starts the run. Progress opens next to the window. Run settings are not part of a version: changing only the dates doesn’t create one.

If bots already run on this strategy, saving asks whether to restart them with the new parameters. Bots created from an approved version are not affected.

Watching the run

Run progress shows a progress bar, the current stage and, for Up/Down, the engine’s live log: you can see why each condition fired and closed trades appear as they happen. You can pause the log or leave; the run keeps going.

Related