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
GET
https://api.youraitools.co/tasignal/v1/backtestUptime100% 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
- api.youraitools.co/tasignal/v1/liteTechnical indicators for any crypto asset on closed 15m/1h/4h/1d candles: RSI 14, MACD 12/26/9 with cross, EMA 20/50/200, SMA 20, Bollinger Bands 20/2 (%b, bandwidth), ATR 14 and ATR %, ADX 14 with +DI/-DI, stochastic %K, annualized realized volatility, volume vs 20-bar average, 20-bar high/low; plus a descriptive technical bias score (-100..100) with components, trend (up/down/mixed) and regime (0.005
- api.youraitools.co/tasignal/v1/riskRisk analytics and position sizing for a crypto asset: historical VaR and CVaR at 95/99% per bar and per day, annualized volatility, max drawdown and current drawdown from the high, Sharpe and Sortino, worst/best bar over up to 1000 closed candles; ATR(14)-based stop (or your stop), risk per unit and, with account_usd and risk_pct, the position size in units and USD notional, implied leverage and 0.02
