{"slug":"invest-math-x402tookit-com-return-stats-2d3014","title":"Performance stats from period returns","host":"invest-math.x402tookit.com","method":"GET","resource":"https://invest-math.x402tookit.com/return-stats","category":"other","description":"Performance stats from period returns: average, volatility, Sharpe, Sortino, compound growth and max drawdown.","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":380,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"periodsPerYear":12,"returnsPct":"2,-1,3,1.5,-2,4,0.5,-0.5,2.5,1,-1.5,3","riskFreePct":2},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"periodsPerYear":{"description":"12 monthly (default), 52 weekly, 252 daily, 4 quarterly, 1 yearly","type":"integer"},"returnsPct":{"description":"Period returns in percent, comma separated, at least 3","type":"string"},"riskFreePct":{"description":"Annual risk-free rate in percent, default 0","type":"number"}},"required":["returnsPct"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"annualisedMeanPct":{"type":["null","number"]},"annualisedVolatilityPct":{"type":["null","number"]},"asOf":{"type":["null","string"]},"bestPeriodPct":{"type":["null","number"]},"cagrPct":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"maxDrawdownPct":{"type":["null","number"]},"meanReturnPct":{"type":["null","number"]},"notChecked":{"items":{"type":"string"},"type":["array","null"]},"periods":{"type":["null","number"]},"reasons":{"items":{"type":"string"},"type":["array","null"]},"sharpe":{"type":["null","number"]},"sortino":{"type":["null","number"]},"source":{"type":["null","string"]},"summary":{"type":["null","string"]},"totalReturnPct":{"type":["null","number"]},"verdict":{"type":["null","string"]},"volatilityPerPeriodPct":{"type":["null","number"]},"winRatePct":{"type":["null","number"]},"worstPeriodPct":{"type":["null","number"]}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":380,"error":null}],"description_full":"Performance stats from period returns: average, volatility, Sharpe, Sortino, compound growth and max drawdown.","last_updated":"2026-10-20T20:03:49.767Z","schemes":["exact"]}