{"uid":"cap_bLS-lRoYXi0YBadEPmeTm","slug":"api-carbon-cashmere-de-6bc03ebc","name":"Carbon Cashmere Signal Backtest API","description":"Professional crypto market intelligence. Real-time prices, signals, and market scoring.","url":"https://api.carbon-cashmere.de/v1/signal-backtest/BTC","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"coin":"BTC","days":30,"summary":{"win_rate":64.3,"sharpe_ratio":1.35,"total_trades":28,"profit_factor":1.82},"strategy":"analyst_v3"}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"days":30,"strategy":"analyst_v3"}}},"response":{"coin":"BTC","days":30,"period":{"end":"2026-04-09","start":"2026-03-14"},"trades":[{"date":"2026-03-14","regime":"unknown","correct":true,"pnl_pct":1.95,"direction":"bullish","confidence":0.62,"exit_price":72815.24,"entry_price":71211.95,"gross_correct":true,"gross_pnl_pct":2.25},{"date":"2026-03-15","regime":"unknown","correct":true,"pnl_pct":2.54,"direction":"bullish","confidence":0.62,"exit_price":74884.67,"entry_price":72815.24,"gross_correct":true,"gross_pnl_pct":2.84},{"date":"2026-03-16","regime":"unknown","correct":false,"pnl_pct":-1.6,"direction":"bullish","confidence":0.62,"exit_price":73909.36,"entry_price":74884.67,"gross_correct":false,"gross_pnl_pct":-1.3},{"date":"2026-03-17","regime":"unknown","correct":false,"pnl_pct":-3.9,"direction":"bullish","confidence":0.62,"exit_price":71246.54,"entry_price":73909.36,"gross_correct":false,"gross_pnl_pct":-3.6},{"date":"2026-04-07","regime":"unknown","correct":false,"pnl_pct":-1.49,"direction":"bullish","confidence":0.62,"exit_price":71069.93,"entry_price":71924.22,"gross_correct":false,"gross_pnl_pct":-1.19},{"date":"2026-04-09","regime":"unknown","correct":true,"pnl_pct":1.34,"direction":"bullish","confidence":0.62,"exit_price":72962.7,"entry_price":71787.97,"gross_correct":true,"gross_pnl_pct":1.64}],"monthly":[{"month":"2026-03","trades":4,"pnl_pct":-1.01,"win_rate":50,"gross_pnl_pct":0.19},{"month":"2026-04","trades":2,"pnl_pct":-0.15,"win_rate":50,"gross_pnl_pct":0.45}],"summary":{"wins":3,"costs":{"fee_pct":0.1,"slippage_pct":0.05,"roundtrip_pct":0.3,"total_cost_pct":1.8},"gross":{"wins":3,"win_rate":50,"total_pnl_pct":0.64},"losses":3,"p_value":null,"win_rate":50,"avg_pnl_pct":-0.19,"sharpe_ratio":null,"total_trades":6,"profit_factor":0.83,"total_pnl_pct":-1.16,"max_drawdown_pct":-6.99,"statistically_significant":null},"strategy":"analyst_v3","updated_at":"2026-04-17T21:04:24.988910+00:00","x402_price":"$0.50","confidence_breakdown":[{"range":"0.60-0.70","trades":6,"win_rate":50}]}},"exampleRequest":{"days":30,"strategy":"analyst_v3"},"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_p3E4CG15jYr2SXt7YHsTa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs strategy backtesting on 30-90 days of historical crypto data for a specified asset, returning full trade list, win rate, Sharpe ratio, max drawdown, profit factor, and statistical significance p-value.","exampleAgentPrompt":"Run a 60-day backtest on BTC using the analyst_v3 strategy and give me the win rate, Sharpe ratio, max drawdown, and whether the results are statistically significant.","exampleUseCases":null,"resultDescription":"Returns a full backtest report for the specified crypto asset including: a per-trade list (date, direction, entry/exit prices, PnL%, confidence, regime, correctness), monthly aggregates (trades, win rate, gross/net PnL%), and a summary object with wins, losses, total PnL, Sharpe ratio, max drawdown %, profit factor, p-value, statistical significance flag, and cost breakdown (fees, slippage, roundtrip).","failureModes":["Invalid or unsupported coin symbol in path returns an error","Unsupported 'days' value outside [30,60,90] returns validation error","Unsupported 'strategy' value returns validation error","Payment failure via x402 protocol blocks access","Insufficient historical data for the requested period may return empty trades array","Network timeout if upstream data source is unavailable"],"whenToPreferThis":"Use this endpoint when you need a rigorous, statistically grounded backtest for one of 34 supported crypto assets using either the multi-factor analyst_v3 strategy or the contrarian funding_monitor strategy. Ideal for quantitative trading research, strategy validation, or comparing signal quality across lookback windows. Prefer this over generic backtesting tools when you need built-in cost accounting (fees + slippage), confidence scoring, regime labeling, and a p-value for significance testing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:50:18.645Z","isFirstParty":false}