Backtests a simple rule on a US stock and returns a finished report PNG
Backtests a simple rule on a US stock and returns a finished report PNG. Runs an SMA crossover (?strategy=sma_cross&fast=50&slow=200) or RSI mean-reversion (?strategy=rsi_reversion&period=14&lower=30&upper=70) over daily history (?years=, max 5), no lookahead, rendered as an equity curve vs buy & hold. Returns full stats plus a hosted `artifact.png_url`. From x402stock
Not tested: has real-world effectsour last check, 2026-09-24
0 of 0checks answered this week
n/amedian answer time
$0.5listed price per call
n/aprice it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://agents.x402stock.xyz/api/v1/backtest/:ticker
| Category | Market data |
|---|---|
| Provider host | agents.x402stock.xyz |
| Networks | eip155:8453, zeroclick:card |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"method": "GET",
"pathParams": {
"ticker": "AAPL"
},
"queryParams": {},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"pathParams": {
"ticker": {
"type": "string"
},
"type": "object"
},
"queryParams": {
"properties": {
"capital": {
"default": 10000,
"exclusiveMinimum": 0,
"maximum": 1000000000,
"type": "number"
},
"fast": {
"default": 50,
"exclusiveMinimum": 0,
"maximum": 200,
"type": "integer"
},
"lower": {
"default": 30,
"maximum": 99,
"minimum": 1,
"type": "number"
},
"period": {
"default": 14,
"exclusiveMinimum": 0,
"maximum": 100,
"type": "integer"
},
"slow": {
"default": 200,
"exclusiveMinimum": 0,
"maximum": 400,
"type": "integer"
},
"strategy": {
"default": "sma_cross",
"enum": [
"sma_cross",
"rsi_reversion"
],
"type": "string"
},
"upper": {
"default": 70,
"maximum": 99,
"minimum": 1,
"type": "number"
},
"years": {
"default": 3,
"exclusiveMinimum": 0,
"maximum": 5,
"type": "number"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}