Skip to content
Fourohtwo

api.youraitools.co/tasignal/v1/backtest

Backtest a rule-based strategy (sma_cross, ema_cross, rsi_reversion, breakout, macd_cross) on up to 2000 closed candles of any crypto asset: signals on close, next-open fills, fees per side, long-only or long/short. Returns total and annualized return vs buy-and-hold, max drawdown, Sharpe, trades, win rate, profit factor, average trade, exposure, the last 20 trades and a 50-point equity curve. His

BaseAnswering
GEThttps://api.youraitools.co/tasignal/v1/backtest

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.youraitools.co/tasignal/v1/backtest?fast=20&slow=50&symbol=SOL&strategy=ema_cross&timeframe=4h");
console.log(await res.json());

Example input

{
  "fast": 20,
  "slow": 50,
  "symbol": "SOL",
  "strategy": "ema_cross",
  "timeframe": "4h"
}

More from TASignal by AgentGate