{"uid":"cap_fATS3rAHn75FFqb9b5xDr","slug":"halowerk-value-at-risk-calculator-ff7fd12f","name":"HALOWERK Value-at-Risk Calculator","description":"Historischer oder parametrischer Value at Risk. Historisch Nearest-Rank für eine Periode. Parametrisch Normalverteilung mit Stichprobenstandardabweichung und unabhängigen gleichverteilten Perioden. Vorzeichen nicht abgeschnitten. Alle Zahlen, Kurse und Vorgaben liefert der Aufrufer. Keine eigenen Kursdaten, kein Brokerzugriff, keine Ausführung. Rechenwerkzeug, keine Anlageberatung, keine Empfehlung.","url":"https://handel.halowerk.com/v1/rechner/value-at-risk?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"method":{"enum":["historical","normal"],"type":"string"},"returns":{"type":"array","items":{"type":"number","maximum":1000000000000,"minimum":-1000000000000},"maxItems":5000,"minItems":2},"confidence":{"type":"number","maximum":0.999999,"exclusiveMinimum":0},"portfolio_cash":{"type":"number","maximum":1000000000000,"minimum":1e-12},"horizon_periods":{"type":"integer","maximum":1000,"minimum":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zV364qCyjC2T9DYvI4KAg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes historical (nearest-rank) or parametric (normal distribution) Value at Risk for a portfolio given caller-supplied return series and parameters","exampleAgentPrompt":"Calculate the historical Value at Risk for my portfolio worth $500,000 using these 250 daily returns I'm providing, at 99% confidence over a 1-day horizon.","exampleUseCases":[{"title":"Daily risk reporting for trading desk","prompt":"I have 500 daily log-returns for my equity portfolio valued at $2,000,000. Can you compute the historical VaR at 95% confidence over a 1-day horizon so I can include it in today's risk report?"},{"title":"Parametric VaR for 10-day stress scenario","prompt":"Run a parametric (normal distribution) Value at Risk calculation on these 200 returns for a portfolio worth $750,000, using 99% confidence and a 10-day horizon."},{"title":"Backtesting VaR model comparison","prompt":"I want to compare historical and parametric VaR for the same return series — can you first calculate historical VaR at 95% confidence over 1 period for a $100,000 portfolio using these 300 returns?"}],"resultDescription":"Returns the computed Value at Risk figure (not truncated in sign) as a numeric result for the specified method, confidence level, horizon, and portfolio cash value. No price data is fetched; all inputs are caller-supplied. The result is a pure risk metric, not investment advice.","failureModes":["Fewer than 2 returns supplied (minItems violation)","Confidence level outside (0, 0.999999] range","Horizon periods exceeding 1000 or below 1","Portfolio cash value below 1e-12 or above 1e12","Invalid method enum value (must be 'historical' or 'normal')","Individual return values outside ±1e12 bounds","Payment failure or insufficient USDC balance (x402)"],"whenToPreferThis":"Choose this endpoint when you need a pure computational VaR engine without any market data dependency — all prices and returns are supplied by the caller. Ideal for agents with their own historical or simulated return series who need a reproducible, formula-correct VaR figure (historical nearest-rank or parametric normal) without brokerage access, data subscriptions, or embedded assumptions. Prefer over full-stack risk platforms when auditability and caller-controlled inputs matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T06:49:32.471Z","isFirstParty":false,"canonicalSlug":"halowerk-value-at-risk-calculator-ff7fd12f"}