{"slug":"www-brainiac-software-api-v1-portfolio-analytics-risk-metric-81e445","title":"Annualised volatility, Sharpe, Sortino, Calmar, max drawdown with peak/trough/re","host":"www.brainiac.software","method":"POST","resource":"https://www.brainiac.software/api/v1/portfolio-analytics/risk-metrics","category":"other","description":"Annualised volatility, Sharpe, Sortino, Calmar, max drawdown with peak/trough/recovery indices, skewness and excess kurtosis from a return series. Docs: https://www.brainiac.software/api/portfolio-analytics/risk-metrics","price_listed":0.03,"price_asked":0.03,"state":"answering","state_label":"Answering","checks_7d":4,"answered_7d":4,"latency_ms_median":323,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"mar":null,"periodsPerYear":12,"returns":[0.02,-0.01,0.03,-0.04,0.015,0.01,-0.02,0.025,0.005,-0.015,0.03,0.01],"riskFreePerPeriod":0.002},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"mar":{"description":"mar supplied by the caller for this operation.","example":null,"type":["number","null"]},"periodsPerYear":{"description":"periods Per Year supplied by the caller for this operation.","example":12,"type":"number"},"returns":{"description":"returns supplied by the caller for this operation.","example":[0.02,-0.01,0.03,-0.04,0.015,0.01,-0.02,0.025,0.005,-0.015,0.03,0.01],"items":{"type":["number","object"]},"type":"array"},"riskFreePerPeriod":{"description":"risk Free Per Period supplied by the caller for this operation.","example":0.002,"items":{"type":"number"},"type":["number","array"]}},"required":["returns"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":279,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":328,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":325,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":322,"error":null}],"description_full":"Annualised volatility, Sharpe, Sortino, Calmar, max drawdown with peak/trough/recovery indices, skewness and excess kurtosis from a return series. Docs: https://www.brainiac.software/api/portfolio-analytics/risk-metrics","last_updated":"2026-11-24T15:06:30.626Z","schemes":["exact"]}