Pearson and Spearman correlation, optional covariance, rolling windows and Ledoi...
https://www.brainiac.software/api/v1/portfolio-analytics/correlation-matrixOverview
Pearson and Spearman correlation, optional covariance, rolling windows and Ledoit-Wolf shrinkage covariance from caller series. Docs: https://www.brainiac.software/api/portfolio-analytics/correlation-matrix
Protocol
x402 (POST)
Price
$0.03
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
crypto/wallet
Provider
Correlation Ledoit-Wolf
Source
bazaar
Indexed
2026-11-24 19:01:01
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
—
Asset Verified
—
Facilitator
—
Input Schema
{
"body": {
"methods": [
"pearson",
"spearman",
"ledoit_wolf"
],
"missing": "pairwise",
"rollingWindow": null,
"series": {
"A": [
0.02,
-0.01,
0.03,
-0.04,
0.015,
0.01,
-0.02,
0.025,
0.005,
-0.015,
0.03,
0.01
],
"B": [
0.025,
-0.012,
0.035,
-0.045,
0.018,
0.012,
-0.021,
0.028,
0.007,
-0.016,
0.033,
0.013
],
"C": [
0.005,
0.002,
-0.003,
0.004,
-0.001,
0,
0.003,
-0.002,
0.001,
0.002,
-0.004,
0.001
]
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"ledoitWolf": {
"covariance": [
[
0.00042268464205499846,
0.0004078252303142664
],
[
0.0004078252303142664,
0.0005235118842352271
]
],
"shrinkage": 0.18298785245889854
},
"limitations": [
"Outputs are calculations on caller-supplied inputs for human review. No market data is fetched, and this is not investment or tax advice.",
"Pearson uses pairwise-complete observations; Spearman is Pearson on average ranks. Ledoit-Wolf uses listwise mean-centred 1/n covariance with a scaled-identity"
],
"pairCounts": [
[
12,
12
],
[
12,
12
]
],
"pearson": [
[
1,
0.9991821892446439
],
[
0.9991821892446439,
1
]
],
"psd": true,
"sources": [
{
"retrievedAt": "2026-11-14",
"source": "Caller-supplied holdings, returns, valuations and transactions processed locally",
"status": "ok",
"url": "https://www.brainiac.software/api/v1/portfolio-analytics"
}
],
"spearman": [
[
1,
0.9964973622679556
],
[
0.9964973622679556,
1
]
]
},
"type": "json"
}