FiatDock
Backtest a stated trading rule on a crypto asset's daily USD closes (Coinbase Exchange) and compare it with buying and holding: SMA crossover, RSI mean reversion, DCA or buy-and-hold, 30-365 days, with fees. Returns total return, drawdown, Sharpe, win rate, exposure, every trade and the equity curve; the rules are published in every answer. Send {} for BTC, SMA 20/50, 180 days. A test of the past, not advice. Pay-per-call via x402.
Offering
- Provider
- fiatdock.com
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Other
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://fiatdock.com/v1/market/backtest- MIME type
- Not provided
- First seen
- 2026-10-19T02:37:12.447Z
- Last seen
- Tags
- backtest, Trading, strategy, Crypto, quant
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.009 USDC
Atomic price: 9000 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 2
- 0.009 USDC
Atomic price: 9000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "9000",
"payTo": "0xeB12bB2f52EeD33DBa6A00774E48324032Fd87C6"
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "9000",
"payTo": "J79PfB4V9mbNRD6XrWLGAPCQhB1htX4KW5gMYUgddtNV"
}
]Observed health
- Status
- Healthy
- Latest latency
- 277 ms
- Average latency
- 343 ms
- HTTP status
- 204
- Last checked
- Reachability
- 100% over 20 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"asset": {
"description": "Crypto asset ticker with a USD market on Coinbase Exchange (BTC, ETH, SOL, …). Default BTC",
"example": "BTC",
"maxLength": 10,
"type": "string"
},
"capitalUsd": {
"description": "Starting capital in USD, 10-10000000 (default 1000)",
"example": 1000,
"maximum": 10000000,
"minimum": 10,
"type": "number"
},
"days": {
"description": "Length of the tested window in days, 30-365 (default 180)",
"example": 180,
"maximum": 365,
"minimum": 30,
"type": "integer"
},
"dcaEveryDays": {
"description": "dca: days between purchases, 1-30 (default 7)",
"example": 7,
"maximum": 30,
"minimum": 1,
"type": "integer"
},
"fast": {
"description": "sma_cross: fast moving-average length in days, 2-100 (default 20)",
"example": 20,
"maximum": 100,
"minimum": 2,
"type": "integer"
},
"feeBps": {
"description": "Fee on every trade in basis points, 0-100 (default 10 = 0.1%)",
"example": 10,
"maximum": 100,
"minimum": 0,
"type": "number"
},
"rsiBuy": {
"description": "rsi_reversion: buy when RSI falls below this, 1-50 (default 30)",
"example": 30,
"maximum": 50,
"minimum": 1,
"type": "number"
},
"rsiPeriod": {
"description": "rsi_reversion: RSI length in days, 2-50 (default 14)",
"example": 14,
"maximum": 50,
"minimum": 2,
"type": "integer"
},
"rsiSell": {
"description": "rsi_reversion: sell when RSI rises above this, 50-99 (default 70)",
"example": 70,
"maximum": 99,
"minimum": 50,
"type": "number"
},
"slow": {
"description": "sma_cross: slow moving-average length in days, 3-200, longer than fast (default 50)",
"example": 50,
"maximum": 200,
"minimum": 3,
"type": "integer"
},
"strategy": {
"description": "sma_cross (long while the fast moving average is above the slow one), rsi_reversion (buy when RSI falls below rsiBuy, sell when it rises above rsiSell), dca (buy a fixed amount every dcaEveryDays), buy_and_hold. Default sma_cross",
"enum": [
"sma_cross",
"rsi_reversion",
"dca",
"buy_and_hold"
],
"example": "sma_cross",
"type": "string"
}
},
"required": []
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}Output schema
{
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}