{"uid":"cap_2fIjHJuGniYFVZVL6Yhje","slug":"stock-bloc-quant-sim-strategy-performance-simulator-3d6b782f","name":"Stock Bloc Quant Sim – Strategy Performance Simulator","description":"Financial research API for AI agents: Stock Bloc SEC Analyst (10-K/10-Q/8-K filing analysis), market data, MCP tools, and x402 USDC payments on Base.","url":"https://stockbloc.ai.studio/api/v1/agent/quant-sim?utm_source=zero.xyz","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":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"alpha":0.116,"status":"success","evaluatedAt":"2026-09-29T00:00:00.000Z","maxDrawdown":-0.092,"sharpeRatio":2.65,"benchmarkReturn":0.312,"annualizedReturn":0.428}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.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_hOuoWHePkMmsMmePRDHgR","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":"Runs a quantitative simulation of a trading strategy and returns performance metrics including Sharpe ratio, alpha, max drawdown, annualized return, and benchmark comparison.","exampleAgentPrompt":"Run a quant simulation on my momentum trading strategy and give me the Sharpe ratio, alpha, max drawdown, and annualized return compared to the benchmark.","exampleUseCases":[{"title":"Momentum strategy risk assessment","prompt":"Simulate my momentum-based equity strategy and tell me the Sharpe ratio, alpha, and worst drawdown so I can decide whether the risk is worth it."},{"title":"Benchmark comparison for portfolio model","prompt":"Can you run a quant sim on my mean-reversion strategy and show me how the annualized return stacks up against the benchmark, along with the risk metrics?"},{"title":"Pre-launch quant model validation","prompt":"Before I deploy this new quant model, simulate it and give me the full performance breakdown — Sharpe, alpha, max drawdown, and benchmark return — so I can validate it looks solid."}],"resultDescription":"Returns a JSON object with: status (success/error), evaluatedAt (ISO timestamp), sharpeRatio (risk-adjusted return metric), alpha (excess return vs benchmark), maxDrawdown (largest peak-to-trough loss as a decimal), annualizedReturn (annualized % return), and benchmarkReturn (benchmark comparison return).","failureModes":["Missing required 'input' object causes validation error","Invalid method enum value (not POST/PUT/PATCH) returns 400","Invalid bodyType enum (not json/form-data/text) returns 400","Malformed strategy parameters in body may produce empty or error response","Payment failure via x402/USDC results in 402 Payment Required","Network timeout if simulation is computationally intensive"],"whenToPreferThis":"Choose this endpoint when you need quantitative performance metrics (Sharpe ratio, alpha, max drawdown, annualized return) for a trading strategy simulation. It is distinct from SEC filing analysis or real-time market data endpoints on the same platform — use this specifically for strategy backtesting and risk-adjusted performance computation. Best for AI agents evaluating or comparing trading models before deployment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:44:11.749Z","isFirstParty":false,"canonicalSlug":"stock-bloc-quant-sim-strategy-performance-simulator-3d6b782f"}