tradingbacktest.live

Ask Claude for a strategy. Get a backtest back.

Connect Claude to your account and describe an idea in your own words. Claude writes the blocks, runs the test on real data with your costs, and goes through the report with you.

Test a London breakout on EURUSD M15: buy above the Asian range high after the London open, stop at the range low, target 2R. Last 3 years.
get_strategy_guidevalidate_strategyestimate_backtestrun_backtest
I built it with a session filter and a range channel, checked it, and ran it on 3 years at M1 precision with the retail cost profile. The report is ready; next I would check whether the results hold without the Monday trades.

Example of a conversation. Claude works with the tools listed below.

Connect in one minute

  1. Add a custom connector

    In Claude's settings, open Connectors and add a custom connector with this address:

    https://tradingbacktest.live/mcp
  2. Sign in and allow

    Claude opens our sign-in page. Log in with your account (or create one) and click Allow. No key to copy.

  3. Ask

    Start a chat and turn the connector on. For example: “Use tradingbacktest to test an RSI pullback in the trend on XAUUSD H1 since 2020.”

What Claude can do

Read the guide

The strategy format, every indicator with its settings, the markets and how far back the data goes.

Write and check strategies

Claude writes the blocks for your idea and checks them before anything runs.

Run backtests

On the markets, period, precision and cost profile you ask for. Claude tells you the credit cost first.

Read the results

Summary, monthly results and every trade, plus a link to the full report.

Test variants in bulk

With Pro, a whole grid of settings in one go, ranked by profit factor, Sharpe or drawdown.

Save to your library

Strategies you like appear in your list, ready to edit with the blocks.

Claude only sees your strategies and tests, never your password or payment details. Disconnect it at any time from your account page.

Credits

Tests started by Claude or the API use credits. Tests you start on the website never do. A test costs one credit per market per month of data, times the precision:

PrecisionCredits per market-month
Fast (candles)1
Accurate (M1)1
Fine (15 seconds)2
Precise (1 second)4
Exact (every tick)8

Stress tests cost 10×; a batch costs the sum of its tests. Failed or cancelled tests are refunded. Every month: 1,000 credits on Free, 20,000 on Pro (they reset on the 1st). Pro packs: ; bought credits never expire. Plan limits still apply: on Free, tests cover up to 1 year at 15-second precision or coarser, without batches.

REST API

Base address https://tradingbacktest.live/v1. Authentication: Authorization: Bearer tbl_… or X-API-Key: tbl_…. Answers are JSON; errors come with a readable error and a list of problems. Up to 120 requests per minute.

RequestWhat it does
GET /v1/guideStrategy format, indicators, markets, precisions, plan limits, credit costs
GET /v1/marketsMarkets and the dates covered by candles and ticks
GET /v1/accountPlan, credit balance, cost profiles
POST /v1/strategies/validate{"strategy": {...}} → problems to fix
GET /v1/strategies · POST /v1/strategiesList or save strategies (name, strategy)
GET /v1/strategies/{id} · PUT /v1/strategies/{id}Read or update a saved strategy
POST /v1/backtests/estimate{"strategy" or "strategy_id", "test"} → credits and plan check
POST /v1/backtestsStart a test; returns run_id
GET /v1/backtests/{id}?wait_seconds=30Status, summary and report link
GET /v1/backtests/{id}/trades?offset=0&limit=100Every trade of a finished test
POST /v1/backtests/{id}/cancelStop a test and refund its credits
POST /v1/backtests/{id}/reportBuild the full HTML report of a batch test (free)
POST /v1/batchesPro: "grid" {path: [values]} and/or "variants", up to 2,000 tests; returns batch_id
GET /v1/batches/{id}?limit=50&rank_by=sharpeProgress and ranking of a batch
GET /v1/batches · POST /v1/batches/{id}/cancelList batches, stop one (refunds what has not run)

The test object: symbols (required), timeframe, date_from, date_to, precision (bars, M1, S15, S1, T), balance, risk_pct, leverage, cost_profile (retail, aquafunded, zero or your profile id), costs_override, entry_delay, prop, monte_carlo, stress.

MCP server for AI assistants: https://tradingbacktest.live/mcp (Streamable HTTP, OAuth or API key).