{"uid":"cap_PAdH-YJSO_9X3OXXSu8BW","slug":"cryptyx-multi-factor-z-score-composite-backtest-ffd580e4","name":"Cryptyx Multi-Factor Z-Score Composite Backtest","description":"","url":"https://www.cryptyx.ai/api/metrics/slicer/composite","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["asset","conditions"],"properties":{"asset":{"type":"string","description":"Asset symbol, uppercased server-side (e.g. BTC, ETH, SOL)"},"conditions":{"type":"array","items":{"type":"object","required":["metric_id","operator","threshold"],"properties":{"operator":{"enum":["gt","lt","gte","lte","abs_gt"],"type":"string"},"metric_id":{"type":"string"},"threshold":{"type":"number"}}},"maxItems":4,"minItems":2,"description":"2-4 conditions, each { metric_id, operator (gt|lt|gte|lte|abs_gt), threshold (z-score number) }"},"cooldown_days":{"type":"integer","default":7,"maximum":365,"minimum":0,"description":"Min days between accepted composite triggers (0-365, default 7)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"pathParams":{"type":"object"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"application/json","example":{"hit_rate":0.67,"n_triggers":48,"mean_fwd_return":0.052}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.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_AJ5VUIqPQTptqp_vLx8pC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Backtests 2-4 metric conditions chained with AND logic, returning hit rate, mean forward return, and sample count for confluence trading strategies.","exampleAgentPrompt":"Run a composite backtest on SOL where trend rank is bullish AND volume is compressing AND order book depth is rising — I want to see the hit rate and mean forward return for that confluence.","exampleUseCases":null,"resultDescription":"A JSON object with hit_rate (fraction of triggers that met the forward return threshold), n_triggers (number of historical instances all conditions fired simultaneously), and mean_fwd_return (average forward return following triggers). Useful for evaluating whether the confluence strategy has a statistically meaningful edge before live deployment.","failureModes":["Fewer than 2 or more than 4 conditions provided — validation error","Asset symbol not recognized or not in the ~200-asset universe — 404 or empty result","Conditions too restrictive resulting in n_triggers too low for statistical significance","Malformed condition objects in the array — 400 bad request","Insufficient historical data for the specified asset and condition combination"],"whenToPreferThis":"Use this endpoint when you want to validate a multi-signal confluence strategy — specifically when you need to know whether AND-ing together 2-4 z-score metric conditions (e.g. trend + volume + order book) produces a meaningfully higher hit rate than any single signal alone. Prefer this over the single-metric backtest endpoint when testing confluence hypotheses. Use before live deployment to screen strategies for statistical viability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:57:24.302Z","isFirstParty":false}