{"uid":"cap_Q9BpJtUG_6FTqVqbkr32D","slug":"halowerk-pearson-correlation-matrix-calculator-4921a062","name":"HALOWERK Pearson Correlation Matrix Calculator","description":"Pearson-Korrelationsmatrix. Reihen müssen vom Aufrufer zeitlich ausgerichtet sein. Konstante Reihen haben undefinierte Korrelation (null). Alle Zahlen, Kurse und Vorgaben liefert der Aufrufer. Keine eigenen Kursdaten, kein Brokerzugriff, keine Ausführung. Rechenwerkzeug, keine Anlageberatung, keine Empfehlung.","url":"https://handel.halowerk.com/v1/rechner/correlation?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"series":{"type":"array","items":{"type":"object","required":["name","returns"],"properties":{"name":{"type":"string","maxLength":64,"minLength":1},"returns":{"type":"array","items":{"type":"number","maximum":1000000000000,"minimum":-1000000000000},"maxItems":5000,"minItems":2}},"additionalProperties":false},"maxItems":10,"minItems":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_olS-7uS83h_rfT5kuWEw-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a Pearson correlation matrix from caller-supplied return series, returning pairwise correlation coefficients for up to 10 named series.","exampleAgentPrompt":"Calculate the Pearson correlation matrix for these three return series: 'SPY' with returns [0.01, -0.02, 0.015, 0.005, -0.01], 'BTC' with returns [0.03, -0.05, 0.02, 0.01, -0.03], and 'GLD' with returns [-0.005, 0.01, -0.002, 0.008, 0.003].","exampleUseCases":[{"title":"Portfolio diversification check","prompt":"I have daily returns for five ETFs — SPY, QQQ, GLD, TLT, and BTC — over the last 60 days. Can you compute the Pearson correlation matrix so I can see which ones are actually diversifying my portfolio?"},{"title":"Equity pair trading signal","prompt":"Compare the return correlation between AAPL and MSFT using these 30 daily returns for each: AAPL [0.01, -0.02, ...] and MSFT [0.008, -0.015, ...]. I want to know how tightly they move together before setting up a pairs trade."},{"title":"Multi-asset risk model input","prompt":"For my risk model I need a full correlation matrix across seven asset classes using their weekly return series — equities, bonds, real estate, commodities, crypto, FX, and infrastructure. Here are 52 weekly returns for each. Can you run the Pearson correlation calculation?"}],"resultDescription":"A Pearson correlation matrix containing pairwise correlation coefficients for all submitted named return series. Values range from -1.0 (perfect negative correlation) to 1.0 (perfect positive correlation). Constant series (zero variance) return null for their correlation entries. The matrix is symmetric with 1.0 on the diagonal.","failureModes":["Series with fewer than 2 data points rejected (minItems: 2 per series)","Constant series (all identical values) return null correlation coefficients — not an error, but caller must handle null","More than 10 series submitted returns validation error (maxItems: 10)","Series with more than 5000 data points rejected (maxItems: 5000)","Misaligned time series produce mathematically valid but economically meaningless correlations — caller must pre-align data","Missing required 'name' or 'returns' fields cause request rejection","Payment failure via x402 protocol prevents execution"],"whenToPreferThis":"Choose this endpoint when you need a pure computation of Pearson correlations on return data you already hold and have pre-aligned temporally. It is ideal for portfolio analytics pipelines, risk model construction, or pair-selection workflows where you supply your own data and want a fast, stateless calculation without any brokerage connectivity, market data fetching, or investment advice. Prefer it over general-purpose statistics libraries when you need a microservice-style, pay-per-call compute node integrated into an agentic workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T06:50:28.491Z","isFirstParty":false,"canonicalSlug":"halowerk-pearson-correlation-matrix-calculator-4921a062"}