Portfolio Analytics · Tracking Error Capture
Tracking error, information ratio, up/down capture, batting average and optional active share versus a benchmark. Docs: https://www.brainiac.software/api/portfolio-analytics/tracking-error-capture
POST https://www.brainiac.software/api/v1/portfolio-analytics/tracking-error-capture
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
{
"benchmark": [
0.02,
-0.01,
0.03,
-0.04,
0.015,
0.01,
-0.02,
0.025,
0.005,
-0.015,
0.03,
0.01
],
"holdings": {
"benchmark": {
"A": 0.3,
"B": 0.2,
"D": 0.5
},
"portfolio": {
"A": 0.4,
"B": 0.3,
"C": 0.3
}
},
"periodsPerYear": 12,
"portfolio": [
0.025,
-0.012,
0.035,
-0.045,
0.018,
0.012,
-0.021,
0.028,
0.007,
-0.016,
0.033,
0.013
]
}{
"activeShare": 0.5,
"battingAverage": 0.6666666666666666,
"downCapture": 1.1058823529411763,
"informationRatio": 1.6202170288201965,
"limitations": [
"Outputs are calculations on caller-supplied inputs for human review. No market data is fetched, and this is not investment or tax advice.",
"Tracking error is the annualised sample standard deviation of active returns. Information ratio uses mean(active)×P / TE. Active share is ½Σ|wp−wb| when"
],
"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"
}
],
"trackingError": 0.010492421507493353,
"upCapture": 1.1793103448275861
}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/tracking-error-capture · input in body · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"portfolio": {
"type": "array",
"items": {
"type": "number"
},
"description": "portfolio supplied by the caller for this operation.",
"example": [
0.025,
-0.012,
0.035,
-0.045,
0.018,
0.012,
-0.021,
0.028,
0.007,
-0.016,
0.033,
0.013
]
},
"benchmark": {
"type": "array",
"items": {
"type": "number"
},
"description": "benchmark supplied by the caller for this operation.",
"example": [
0.02,
-0.01,
0.03,
-0.04,
0.015,
0.01,
-0.02,
0.025,
0.005,
-0.015,
0.03,
0.01
]
},
"periodsPerYear": {
"type": "number",
"description": "periods Per Year supplied by the caller for this operation.",
"example": 12
},
"holdings": {
"type": "object",
"description": "holdings supplied by the caller for this operation.",
"example": {
"portfolio": {
"A": 0.4,
"B": 0.3,
"C": 0.3
},
"benchmark": {
"A": 0.3,
"B": 0.2,
"D": 0.5
}
}
},
"captureMethod": {
"type": "string",
"enum": [
"arithmetic",
"geometric"
],
"description": "capture Method supplied by the caller for this operation."
}
},
"required": [
"portfolio",
"benchmark"
],
"additionalProperties": false
}Output schema
{
"type": "object"
}curl -i -X POST 'https://www.brainiac.software/api/v1/portfolio-analytics/tracking-error-capture' \
-H 'content-type: application/json' -d '{"portfolio":[0.025,-0.012,0.035,-0.045,0.018,0.012,-0.021,0.028,0.007,-0.016,0.033,0.013],"benchmark":[0.02,-0.01,0.03,-0.04,0.015,0.01,-0.02,0.025,0.005,-0.015,0.03,0.01],"periodsPerYear":12,"holdings":{"portfolio":{"A":0.4,"B":0.3,"C":0.3},"benchmark":{"A":0.3,"B":0.2,"D":0.5}}}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs