{"uid":"cap_Wyo-wLnuoGUyHtVSXHpp_","slug":"kihustle-sortino-ratio-calculator-58d85cf0","name":"KiHustle Sortino Ratio Calculator","description":"Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.","url":"https://kihustle.tech/api/v1/sortino-ratio-calculator","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"returns":{"type":"array","items":{"type":"number"}},"risk_free":{"type":"number"}}},"responseSchema":{"type":"json","example":{"result":"processed","status":"success"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mzQ1uDsIrA_n_3l19tVON","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the Sortino ratio for a series of investment returns given a risk-free rate","exampleAgentPrompt":"Calculate the Sortino ratio for these monthly returns [0.02, -0.01, 0.03, 0.015, -0.005, 0.04, 0.01, -0.02] using a risk-free rate of 0.001.","exampleUseCases":[{"title":"Portfolio strategy backtesting evaluation","prompt":"I backtested a trading strategy and got these monthly returns: [0.03, -0.01, 0.02, 0.05, -0.02, 0.04, 0.01, -0.005, 0.03, 0.02, -0.015, 0.04]. Can you calculate the Sortino ratio using a risk-free rate of 0.002?"},{"title":"Comparing two investment funds","prompt":"I want to evaluate my crypto fund's downside risk-adjusted performance. The monthly returns were [0.08, -0.12, 0.15, -0.05, 0.09, -0.03, 0.11] — can you give me the Sortino ratio with a risk-free rate of 0.0015?"},{"title":"Automated quant report generation","prompt":"As part of my monthly quant report, compute the Sortino ratio for these weekly portfolio returns [0.005, -0.002, 0.008, 0.003, -0.006, 0.007, -0.001, 0.004] with a risk-free rate of 0.0005."}],"resultDescription":"Returns a JSON object containing the computed Sortino ratio result and a success status indicator, allowing the caller to assess the downside risk-adjusted performance of the provided return series.","failureModes":["Missing or empty returns array returns an error or null result","Non-numeric values in the returns array may cause computation failure","All returns above the risk-free rate (no downside deviation) may result in division-by-zero or infinity","Missing risk_free field may default to zero or return an error","Malformed JSON body returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need a quick, affordable API call to compute the Sortino ratio for a portfolio or strategy's return series, especially in automated quant pipelines or agent-driven financial analysis workflows where Sharpe ratio is insufficient because downside risk is the primary concern.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:20.512Z","isFirstParty":false}