Hedgehog Edge Inverse Backtest Runner is a paid API for AI agents from hedgehogedge.com, paid per call via x402, $0.2/call, status unknown (last checked 2026-10-12).
Runs an inverse (short/contrarian) backtest on BTC or ETH using a chosen technical indicator, exit strategy, and date range, returning trade-by-trade results and summary performance metrics.
Hedgehog Edge is a Crypto trading analytics platform for backtesting indicators, comparing strategies, analyzing spot, alt/BTC & perp markets, and getting real-time signal alerts.
Returns a JSON object with a 'trades' array (each trade has entryTime, exitTime, entryPrice, exitPrice, profit, exitReason) and a 'summary' object with winRate, maxDrawdown, sharpeRatio, totalProfit, totalReturn, totalTrades, and finalCapital.
POSThttps://hedgehogedge.com/api/x402/backtest/run-inverse?utm_source=zero.xyzChoose this endpoint when you specifically want to simulate an inverse (short/contrarian) strategy — i.e., entering short when a bullish signal fires and exiting on reversal or a stop condition. Use it over the standard backtest endpoint when testing bearish or contrarian hypotheses on BTC or ETH.
| Field | Type | Description |
|---|---|---|
| symbol | string | Only BTC and ETH pairs are supported; USDT variants are normalized to USD. |
| endDate | string | YYYY-MM-DD. Optional — defaults to a 1-year window ending yesterday. |
| indicator | string | The single entry/exit signal indicator for the backtest. |
| startDate | string | YYYY-MM-DD. Optional — defaults to a 1-year window ending yesterday. |
| timeframe | string | Candle timeframe. Defaults to D (daily). |
| commission | number | Per-trade commission in % (e.g. 0.055). |
| exitParams | object | Parameters for the chosen exitStrategy: trailing_stop → {percentage: 0.1-50}; atr_trailing_stop → {multiplier: 0.1-10}; fixed_percentage → {takeProfit: >0, stopLoss?: >0}; moving_average → {type: 'sma'|'ema', period: 1-200}; indicator_reversal → {}. |
| exitStrategy | string | Exit logic. Defaults to indicator_reversal. Restricted strategies (trailing_stop, fixed_percentage, atr_trailing_stop) are limited to a 2-year date range. |
| initialCapital | number | Starting capital (USD for run-perpetual; coin units for run-inverse). |
| tradingDirection | string | Position direction. Defaults to LONG_ONLY. |
| allocationPercentage | number | Percentage of capital allocated per trade (1-100). |
{
"type": "json",
"example": {
"trades": [
{
"profit": 12.04,
"exitTime": "2024-09-12T00:00:00.000Z",
"entryTime": "2024-08-05T00:00:00.000Z",
"exitPrice": 60500,
"entryPrice": 54000,
"exitReason": "indicator_reversal"
}
],
"summary": {
"winRate": 58.3,
"maxDrawdown": -8.2,
"sharpeRatio": 1.4,
"totalProfit": 125.5,
"totalReturn": 12.55,
"totalTrades": 24,
"finalCapital": 1125.5
}
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"