{"uid":"cap_fA0X0yyCNRjLlz9YCrhIS","slug":"kihustle-sharpe-ratio-calculator-f5d5ecb3","name":"KiHustle Sharpe 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/agents/api/v1/sharpe-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_fzvANMdU1yJHJ0dupkq-W","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 Sharpe ratio for a given series of returns and a specified risk-free rate","exampleAgentPrompt":"Calculate the Sharpe ratio for my portfolio using these monthly returns: [0.02, 0.03, -0.01, 0.04, 0.01, 0.02] and a risk-free rate of 0.005.","exampleUseCases":[{"title":"Portfolio performance evaluation","prompt":"I have these monthly returns for my stock portfolio: [0.03, 0.01, -0.02, 0.04, 0.02, 0.00, 0.05] and the current risk-free rate is 0.004 — can you calculate the Sharpe ratio so I can see how well it's performing on a risk-adjusted basis?"},{"title":"Comparing two trading strategies","prompt":"My algorithmic trading strategy produced these weekly returns: [0.01, 0.02, -0.005, 0.03, 0.015] with a risk-free rate of 0.001 — compute the Sharpe ratio so I can compare it against a benchmark strategy."},{"title":"Crypto investment risk-adjusted return","prompt":"Here are my monthly crypto portfolio returns over the past year: [0.08, -0.12, 0.05, 0.15, -0.07, 0.03, 0.10, -0.04, 0.06, 0.02, -0.01, 0.09] — calculate the Sharpe ratio using a risk-free rate of 0.003."}],"resultDescription":"Returns a JSON object with a 'result' field containing the computed Sharpe ratio value and a 'status' field indicating success or failure of the computation.","failureModes":["Empty or null returns array causes computation failure","Non-numeric values in returns array result in validation error","Missing risk_free parameter may default to zero or return an error","Extremely short return series (1-2 values) produces unreliable or undefined Sharpe ratio","Network timeout on slow connections"],"whenToPreferThis":"Choose this endpoint when you need a quick, low-cost ($0.002) Sharpe ratio computation without setting up your own financial math library. It is ideal for AI agents that need on-demand risk-adjusted return metrics as part of a larger portfolio analysis or comparison workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:03:03.678Z","isFirstParty":false}