{"uid":"cap_K4fXG9ffI66VS7BOXwej8","slug":"kihustle-sharpe-ratio-calculator-ebc8c408","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/nexus/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_z5XsLLM75Wnb3u7Hqkccc","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":"Calculates the Sharpe ratio for a given series of returns and a risk-free rate to measure risk-adjusted investment performance","exampleAgentPrompt":"Calculate the Sharpe ratio for these monthly returns: [0.02, 0.015, -0.01, 0.03, 0.025, 0.01, -0.005, 0.02] with a risk-free rate of 0.004.","exampleUseCases":[{"title":"Portfolio strategy backtesting","prompt":"I backtested my momentum strategy and got these monthly returns: [0.03, 0.01, -0.02, 0.04, 0.02, 0.005, -0.01, 0.03, 0.015, 0.025]. Can you calculate the Sharpe ratio using a risk-free rate of 0.003?"},{"title":"Comparing two investment strategies","prompt":"I have annual returns for my ETF portfolio: [0.12, 0.08, -0.05, 0.15, 0.10] and the risk-free rate is 0.02. What is the Sharpe ratio so I can compare it against a different strategy?"},{"title":"Crypto trading performance evaluation","prompt":"These are my weekly crypto trading returns: [0.05, -0.03, 0.07, 0.02, -0.01, 0.04, 0.06, -0.02]. Using a risk-free rate of 0.001, what is my Sharpe ratio?"}],"resultDescription":"Returns a JSON object containing the computed Sharpe ratio result and a success status indicator, allowing the caller to assess the risk-adjusted performance of the given return series relative to the specified risk-free rate.","failureModes":["Missing or empty returns array — endpoint may return error or unexpected result","Non-numeric values in the returns array causing computation failure","Risk-free rate not provided — may default or error depending on implementation","Standard deviation of returns is zero (all identical returns) — causes division-by-zero in Sharpe ratio formula","Malformed JSON body — returns 400 or similar error","Response schema is minimal and may not return the numeric Sharpe ratio directly, only a generic 'processed' status"],"whenToPreferThis":"Use this endpoint when you need a quick, low-cost ($0.002 per call) computation of the Sharpe ratio for any list of numeric returns and a risk-free rate. Prefer this for lightweight portfolio analytics pipelines, automated strategy evaluation, or when integrating risk-adjusted performance metrics into an agent workflow without standing up your own financial computation service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:04:03.650Z","isFirstParty":false}