{"uid":"cap__pU63jIwqJNRgcfzlCUTW","slug":"delx-commerce-sharpe-lite-2d2e9d07","name":"Delx Commerce Sharpe Lite","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/sharpe-lite?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"returns":{"type":"array","description":"Input field: returns."}}},"responseSchema":{"type":"json","example":{"n":4,"mean":0.00875,"stdev":0.01138804197393037,"schema":"delx/util-sharpe-lite/v1","sharpe":0.7683498199278325}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hGbWj7ZJIfsqqlIK40wsG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a lightweight Sharpe ratio from an array of returns, returning mean, standard deviation, and annualized risk-adjusted performance score.","exampleAgentPrompt":"Calculate the Sharpe ratio for these daily portfolio returns: [0.002, -0.001, 0.015, 0.008] — I want to see the mean, standard deviation, and final Sharpe score.","exampleUseCases":[{"title":"Portfolio strategy performance check","prompt":"I've got these monthly returns from my momentum strategy: [0.03, -0.01, 0.02, 0.04, -0.005, 0.015] — can you compute the Sharpe ratio so I know if the risk-adjusted performance is worth it?"},{"title":"Comparing two trading signals","prompt":"Here are the daily returns for my first signal: [0.001, 0.003, -0.002, 0.004]. Calculate the Sharpe ratio so I can compare it against my second signal later."},{"title":"Crypto asset risk check","prompt":"I have these weekly returns from my ETH holding over the past month: [0.05, -0.03, 0.02, 0.08]. What's the Sharpe ratio — is the volatility worth the return?"}],"resultDescription":"Returns a JSON object containing the number of observations (n), mean return, standard deviation of returns, and the computed Sharpe ratio as a float, along with a schema identifier (delx/util-sharpe-lite/v1) for result verification.","failureModes":["Empty or null returns array causes computation failure","Non-numeric values in returns array produce invalid results","Insufficient data points (n<2) may yield undefined standard deviation","Payment via x402 not included or malformed results in 402 response","Network timeout or service unavailability returns 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a fast, no-signup, pay-per-call Sharpe ratio computation without standing up your own quant infrastructure. Ideal for AI agents that need lightweight, on-demand risk-adjusted performance scoring for small return series. Prefer over heavier analytics platforms when latency, cost, and simplicity matter more than advanced metrics like Sortino or Calmar ratios.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:51.462Z","isFirstParty":false,"canonicalSlug":"delx-commerce-sharpe-lite-2d2e9d07"}