Backtest Reconcile v0.1.0

Do the claimed backtest numbers follow from the trades? Send a TradingView Strategy Tester List of trades CSV (or a JSON trade list), your commission settings and the numbers you were shown. Net profit, win rate, profit factor and closed-trade drawdown are recomputed, and every claim comes back MATCH or MISMATCH with both values.

curl -X POST https://backtest.pokt-agent.com/v1/reconcile -H "content-type: application/json" -d '{"trades": [{"n": 1, "side": "long", "entry_time": "2026-01-02 10:00", "exit_time": "2026-01-03 10:00", "entry_price": 100, "exit_price": 110, "qty": 1}, {"n": 2, "side": "short", "entry_time": "2026-01-04 10:00", "exit_time": "2026-01-05 10:00", "entry_price": 110, "exit_price": 115, "qty": 1}], "initial_capital": 1000, "commission": {"type": "percent", "value": 0.1}, "claimed": {"net_profit": 5, "win_rate": 50}}'
FindingMeaning
B101 errorclaimed metric differs from the value recomputed from the trades
B102 warningper-trade reported P&L differs from price x quantity x direction - commission
B103 warningno commission anywhere: cost-free backtest
B104 warningexit before entry, or overlapping trades in a single-position strategy
B105 infofewer than 30 closed trades: metrics are statistically weak
B106 infoone trade is more than half of gross profit: result depends on a single trade
B107 infoopen trade at the end of the list is excluded from closed-trade metrics

Pure computation, deterministic, no market data, nothing stored. Drawdown is closed-trade only (a lower bound of TradingView's intrabar figure). It never judges whether a strategy works live. OpenAPI · rules