{"uid":"cap_N8JcH80Dv9H9i4uaP7V7H","slug":"coreforge-trading-data-strategy-backtest-0936a69c","name":"CoreForge Trading Data – Strategy Backtest","description":"Historical rule-set evaluation over daily bars: net return, win rate, max drawdown and trade count for the latest window (in-sample) and the window before it (out-of-sample walk-forward); optional Monte Carlo block-resample distribution. Computed data, not a performance promise.","url":"https://coreforge-memory.onrender.com/x402/trading/backtest?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"symbol":{"type":"string","description":"Single ticker (or use symbols)"},"symbols":{"type":"array","items":{"type":"string"},"description":"Up to 10 tickers"},"strategy":{"type":"string","description":"One of: ma_crossover | rsi_mean_reversion | momentum | leveraged_momentum | macd_crossover"},"monteCarlo":{"type":"boolean","description":"Add a Monte Carlo block-resample distribution (500 simulations, seeded)"},"windowDays":{"type":"integer","description":"Evaluation window in days, 7-365 (default 90)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FEskakqyR4lsVlQit6x8h","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates a named trading strategy over daily price bars for one or more tickers, returning in-sample and out-of-sample walk-forward metrics (net return, win rate, max drawdown, trade count) with optional Monte Carlo block-resample distribution.","exampleAgentPrompt":"Run a backtest for the momentum strategy on AAPL and NVDA over a 120-day window, and include the Monte Carlo distribution so I can see the range of possible outcomes.","exampleUseCases":[{"title":"Evaluating RSI mean reversion on a watchlist","prompt":"Backtest the RSI mean reversion strategy on SPY, QQQ, and IWM over the last 90 days — I want to see the win rate, max drawdown, and how in-sample compares to out-of-sample."},{"title":"Monte Carlo stress test for momentum strategy","prompt":"Run a momentum strategy backtest on TSLA with a 180-day window and turn on Monte Carlo simulations so I can see the distribution of possible net returns across 500 scenarios."},{"title":"MACD crossover comparison before live trading","prompt":"Before I go live, can you evaluate the MACD crossover strategy on AMZN over 60 days and tell me the net return, trade count, and max drawdown for both the in-sample and walk-forward windows?"}],"resultDescription":"Returns computed metrics for the specified strategy and tickers, split into an in-sample window (latest period) and an out-of-sample walk-forward window (preceding period). Metrics include net return percentage, win rate, maximum drawdown, and trade count. If Monte Carlo is enabled, also returns a distribution of simulated net returns from 500 seeded block-resample runs. Results represent computed historical rule-set evaluation, not a performance guarantee.","failureModes":["Invalid or unrecognized ticker symbol — endpoint may return an error or empty data","Strategy name not matching the supported enum (ma_crossover, rsi_mean_reversion, momentum, leveraged_momentum, macd_crossover) — returns validation error","windowDays outside the 7–365 range — rejected with parameter validation error","Exceeding 10 tickers in the symbols array — request rejected","Insufficient historical data for a ticker over the requested window — may return null metrics or partial results","Upstream market data unavailability — computation fails with a data-fetch error","Payment not included or insufficient USDC — 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need fast, rule-based strategy evaluation over daily price bars with explicit walk-forward (in-sample vs out-of-sample) separation and optional Monte Carlo risk distribution. It is best suited for quantitative research workflows, pre-trade strategy validation, and risk scenario analysis on US equities. Prefer this over live trading APIs when you want computed historical metrics only, not execution. It supports up to 10 tickers per call, making it efficient for small watchlist comparisons.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T13:35:08.748Z","isFirstParty":false,"canonicalSlug":"coreforge-trading-data-strategy-backtest-0936a69c"}