Portfolio Analytics · Correlation Matrix
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
POST https://www.brainiac.software/api/v1/portfolio-analytics/correlation-matrix
0.03 USDC on Base · payTo 0x6428665E83F503904571104311bB78CBb29b975c
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"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
]
}
}{
"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
]
]
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://www.brainiac.software/api/v1/portfolio-analytics/correlation-matrix · input in body · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"series": {
"type": "object",
"description": "series supplied by the caller for this operation.",
"example": {
"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
]
}
},
"methods": {
"type": "array",
"items": {
"type": "string",
"enum": [
"pearson",
"spearman",
"ledoit_wolf",
"covariance"
]
},
"description": "methods supplied by the caller for this operation.",
"example": [
"pearson",
"spearman",
"ledoit_wolf"
]
},
"missing": {
"type": "string",
"enum": [
"pairwise",
"listwise"
],
"description": "missing supplied by the caller for this operation.",
"example": "pairwise"
},
"rollingWindow": {
"type": [
"integer",
"null"
],
"description": "rolling Window supplied by the caller for this operation.",
"example": null
}
},
"required": [
"series"
],
"additionalProperties": false
}Output schema
{
"type": "object"
}curl -i -X POST 'https://www.brainiac.software/api/v1/portfolio-analytics/correlation-matrix' \
-H 'content-type: application/json' -d '{"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]},"methods":["pearson","spearman","ledoit_wolf"],"missing":"pairwise","rollingWindow":null}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs