{"uid":"cap_1fCe3MaTT_VwyrwBYVmye","slug":"delx-commerce-risk-parity-weights-calculator-99f66ddc","name":"Delx Commerce — Risk Parity Weights Calculator","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/risk-parity-weights?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"returns":{"type":"array","description":"Return series or matrix of series"}}},"responseSchema":{"type":"json","example":{"schema":"delx/util-risk-parity-weights/v1","weights":[0.3038324347006871,0.4641117101995419,0.232055855099771]}},"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_VYbtBhrJOoflkNyzW8vb2","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 risk parity portfolio weights from one or more return series using equal-risk-contribution methodology","exampleAgentPrompt":"Calculate risk parity weights for my three-asset portfolio using these monthly return series: [0.01, 0.02, -0.01, 0.03], [0.005, 0.01, 0.007, 0.012], [0.02, -0.005, 0.015, 0.01].","exampleUseCases":[{"title":"Rebalancing a multi-asset portfolio","prompt":"I have monthly returns for my equity, bond, and commodities positions — can you compute the risk parity weights so each asset contributes equally to total portfolio risk? Returns are [0.02, -0.01, 0.03, 0.015], [0.005, 0.007, 0.004, 0.006], [0.03, 0.01, -0.02, 0.025]."},{"title":"Equal risk contribution for crypto assets","prompt":"I want to build an equal-risk-contribution portfolio across Bitcoin, Ethereum, and Solana. Here are their weekly return series — give me the risk parity weights: [0.05, -0.03, 0.07, 0.02], [0.04, -0.05, 0.06, 0.03], [0.08, -0.04, 0.09, 0.01]."},{"title":"Algorithmic strategy diversification","prompt":"My trading system runs three uncorrelated strategies with the following daily return streams. What risk parity weights should I assign each strategy so their volatility contributions are balanced? Returns: [0.001, 0.002, -0.001], [0.003, -0.001, 0.002], [0.0005, 0.001, 0.0015]."}],"resultDescription":"Returns a JSON object with schema identifier 'delx/util-risk-parity-weights/v1' and a 'weights' array of floats (one per asset/series) that sum to 1.0, representing the fraction of capital each asset should receive so that each contributes equally to total portfolio risk.","failureModes":["Malformed or non-numeric return series results in a validation error","Insufficient data points per series may produce unstable or degenerate weights","Singular covariance matrix (perfectly correlated assets) may cause computation failure","Payment not completed or insufficient USDC balance blocks the request","Mismatched series lengths (jagged arrays) may cause an error"],"whenToPreferThis":"Use this endpoint when you need a fast, pay-per-call risk parity weight computation with no signup friction, particularly for AI agent pipelines that need to rebalance portfolios, evaluate allocations, or run quantitative finance calculations on-demand. Prefer it over building your own optimizer when you need verifiable, reproducible results priced at $0.001 USDC per call via x402 protocol on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:40.822Z","isFirstParty":false,"canonicalSlug":"delx-commerce-risk-parity-weights-calculator-99f66ddc"}