{"uid":"cap_mYET5-u0XsJ6RHsgx8clw","slug":"losbeto-backtest-832d4472","name":"Losbeto Backtest","description":"Losbeto: 67 endpoints x402 monetizados. Solana + Base. USDC micropayments para AI agents. Preços a partir de $0.003.","url":"https://losbeto-production-dd7c.up.railway.app/backtest","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.06","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.06/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZpUgwEN5uc3BeEqqL8aAt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.06","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a backtest simulation of a trading strategy and returns historical performance metrics","exampleAgentPrompt":"Can you backtest a simple moving average crossover strategy for SOL/USDC over the past 6 months and tell me the win rate, total return, and max drawdown?","exampleUseCases":[{"title":"Crypto momentum strategy validation","prompt":"Backtest a momentum strategy on BTC/USDC using the last 12 months of data and show me the Sharpe ratio, total return, and max drawdown."},{"title":"Comparing strategy performance periods","prompt":"Run a backtest on an ETH mean-reversion strategy over Q1 2024 and tell me how many winning trades there were versus losing ones, and the overall profit and loss."},{"title":"Pre-deployment strategy sanity check","prompt":"Before I go live, can you backtest my RSI-based trading strategy for SOL with these parameters over the past 3 months so I can see if it would have been profitable?"}],"resultDescription":"A JSON response containing historical backtest results for the submitted strategy, likely including performance metrics such as total return, win rate, max drawdown, number of trades, and possibly a trade-by-trade breakdown or equity curve data.","failureModes":["Missing or malformed strategy properties in request body returns an error","Invalid or unsupported asset symbol causes computation failure","Date range with insufficient historical data returns empty or partial results","Server timeout for complex strategies with long lookback windows","x402 payment failure or insufficient USDC balance returns 402 status"],"whenToPreferThis":"Choose this endpoint when you need to evaluate a trading strategy's historical performance within the Losbeto AI Trading Swarm ecosystem, especially when integrating with x402 micropayment flows on Solana or Base. Useful for AI agents building autonomous trading workflows that need on-demand, pay-per-call backtesting without a subscription model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:52:27.992Z","isFirstParty":false}