Backtest a trading bot (0.05 USDC, x402)
paid_backtestBacktest a Verse trading bot (trend-50-200, breakout-20-10, dip-rsi2) on real BTC-USD or ETH-USD daily candles: your parameters, fee, slippage and dates; every trade, the equity curve, max drawdown, buy-and-hold beside it and a walk-forward out-of-sample test. Read only: nothing is traded. Costs 0.05 USDC on Base (eip155:8453) per call, paid with x402 over MCP: call it without payment to get the PaymentRequired terms in structuredContent, then call it again with the signed PaymentPayload in params._meta["x402/payment"]. The settlement comes back in result._meta["x402/payment-response"]. A call that cannot be done (bad input, the service busy) is never charged. The same service over HTTP: POST https://a-to-mind.com/api/x402/backtest.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"bot": "<bot>"
},
"name": "paid_backtest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | YYYY-MM-DD, optional | |
| bot | Yes | trend-50-200 | breakout-20-10 | dip-rsi2 | |
| fee | No | fee per trade as a fraction (0.008 = 0.8%) | |
| from | No | YYYY-MM-DD, optional | |
| pair | No | BTC-USD or ETH-USD | |
| params | No | the bot's parameters, optional | |
| slippage | No | slippage per trade as a fraction |