BACKTEST ENGINE LIVE

Backtest trading strategies
with one API call

Ship AI trading agents that prove their edge. Run strategies against 2 years of BTC & ETH data, get Sharpe ratios, drawdowns, and verified track records. No infrastructure needed.

4 Strategies
1,460 OHLCV Candles
2 Asset Pairs
<50ms Backtest Speed

Ship in minutes, not weeks

One POST request. Full performance report.

Run a backtest POST
# Run an SMA crossover backtest on BTC
curl -X POST https://alphaarena-xe79.polsia.app/api/v1/strategies/backtest \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "strategy": "sma_crossover",
    "asset_pair": "BTC/USD",
    "initial_capital": 10000,
    "params": {
      "short_period": 10,
      "long_period": 50
    }
  }'
Response 200
{
  "id": 1,
  "status": "completed",
  "execution_time_ms": 23,
  "strategy": {
    "type": "sma_crossover",
    "name": "SMA Crossover"
  },
  "metrics": {
    "total_return_pct": 42.87,
    "sharpe_ratio": 1.2431,
    "max_drawdown_pct": 18.65,
    "win_rate_pct": 58.33,
    "total_trades": 12,
    "profit_factor": 2.1547
  }
}

Built-in strategies

Battle-tested algorithms ready for backtesting. Custom params supported.

SMA Crossover

Classic dual moving average crossover. Buy when short SMA crosses above long SMA.

short_period: 10 long_period: 50

RSI

Relative Strength Index mean-reversion. Buy oversold, sell overbought.

period: 14 oversold: 30 overbought: 70

MACD

Moving Average Convergence Divergence. Trades on MACD/signal line crossovers.

fast: 12 slow: 26 signal: 9

Bollinger Bands

Volatility-based mean reversion. Buy at lower band, sell at upper band.

period: 20 std_dev: 2

Performance metrics that matter

Every backtest returns institutional-grade analytics.

Sharpe Ratio
1.24
Total Return
+42.8%
Max Drawdown
-18.6%
Win Rate
58.3%
Profit Factor
2.15
Total Trades
12

API Reference

Base URL: https://alphaarena-xe79.polsia.app/api/v1

Get your API key

Generate a key instantly. No signup required.

Save this key now. It won't be shown again.