{"uid":"cap_QLmiNlRa59EzpJqhSgk6V","slug":"api-meckercapital-com-0658574b","name":"Mecker Capital Crypto Pair Backtest Statistics","description":"Get historical backtest statistics for a crypto pair trade — total return, Sharpe ratio, max drawdown, win rate, trade count. Quantitative strategy performance for statistical arbitrage on perpetual futures.","url":"https://api.meckercapital.com/v1/backtest/:pair_key","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","required":["pair_key"],"properties":{"pair_key":{"type":"string","description":"Short pair key."}}},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"pair_key":{"type":"string"},"win_rate":{"type":"number"},"sharpe_ratio":{"type":"number"},"total_trades":{"type":"integer"},"avg_hold_bars":{"type":"number"},"max_drawdown_pct":{"type":"number"},"total_return_pct":{"type":"number"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.100000","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.100000/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_vk_Y4d1Xj4vAMVmuFo8Ht","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical backtest performance metrics for a specific crypto perpetual futures pair trade, including total return, Sharpe ratio, max drawdown, win rate, and trade count.","exampleAgentPrompt":"Can you pull up the historical backtest stats for the BTC-ETH pair trade on Mecker Capital — I want to see the total return, Sharpe ratio, max drawdown, and win rate?","exampleUseCases":[{"title":"Validate strategy before deploying capital","prompt":"Before I commit funds to this BTC-USDT perpetual trade, can you check the historical backtest numbers? I need the Sharpe ratio, max drawdown, and total return to make sure the risk-reward makes sense."},{"title":"Compare risk metrics across pair trades","prompt":"I'm looking at three different statistical arbitrage pairs for perpetual futures. Can you grab the backtest stats for ETH-SOL, ARB-OP, and AVAX-FTM so I can compare their Sharpe ratios and max drawdowns?"},{"title":"Assess mean reversion strategy robustness","prompt":"Does the mean reversion strategy actually work on the XRP-ADA pair? Pull the historical backtest results so I can see the win rate, average holding period, and how many trades it generated."}],"resultDescription":"Returns a JSON object containing the pair key, total return percentage, Sharpe ratio, max drawdown percentage, win rate, total trade count, and average holding duration in bars for the specified cointegrated crypto perpetual futures pair.","failureModes":["Invalid or unrecognized pair_key returns a 404 or error response","Pair key not in cointegrated universe returns empty or null statistics","Payment failure (insufficient USDC balance) results in 402 response","Malformed pair_key path parameter causes 400 bad request","Network timeout if backtest computation is resource-intensive"],"whenToPreferThis":"Use this endpoint when you need historical performance validation for a specific crypto pair trade strategy — particularly Sharpe ratio, drawdown, and win rate — before deploying capital. Prefer this over the real-time z-score endpoint when you want strategy-level risk/return metrics rather than current trading signals.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:35:27.574Z","isFirstParty":false}