80trust / 100
Backtest
by Losbeto Market Intelligence in Markets & finance
x402 APIPassing, checked 3 h ago
Strategy backtest with PnL, win rate, drawdown and a written read of where the strategy actually makes its money.
GET https://api.losbeto.xyz/backtest
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 181 ms typical, 181 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.losbeto.xyz/backtest?strategy=momentum&symbol=BTC"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.losbeto.xyz%2Fbacktest
const res = await pay("https://api.losbeto.xyz/backtest?strategy=momentum&symbol=BTC");
console.log(await res.json());Example input
{
"strategy": "momentum",
"symbol": "BTC"
}Example output
{
"avg_per_trade": 0.016,
"pnl_pct_30d": 33.69,
"recommended_next": [
{
"endpoint": "/alpha-signal",
"price_usdc": "0.0800",
"why": "same category as /backtest"
},
{
"endpoint": "/insider-track",
"price_usdc": "0.0800",
"why": "same category as /backtest"
}
],
"trades": 2092,
"version": "48.25.2-FEEPAYER",
"win_rate": 44.8,
"wins": 937
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 181 ms | $0.06 |