{"slug":"www-brainiac-software-api-v1-portfolio-analytics-correlation-388715","title":"Pearson and Spearman correlation, optional covariance, rolling windows and Ledoi","host":"www.brainiac.software","method":"POST","resource":"https://www.brainiac.software/api/v1/portfolio-analytics/correlation-matrix","category":"other","description":"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","price_listed":0.03,"price_asked":0.03,"state":"answering","state_label":"Answering","checks_7d":5,"answered_7d":5,"latency_ms_median":313,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"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":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"methods":{"description":"methods supplied by the caller for this operation.","example":["pearson","spearman","ledoit_wolf"],"items":{"enum":["pearson","spearman","ledoit_wolf","covariance"],"type":"string"},"type":"array"},"missing":{"description":"missing supplied by the caller for this operation.","enum":["pairwise","listwise"],"example":"pairwise","type":"string"},"rollingWindow":{"description":"rolling Window supplied by the caller for this operation.","example":null,"type":["integer","null"]},"series":{"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]},"type":"object"}},"required":["series"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":305,"error":null},{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":313,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":583,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":316,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":308,"error":null}],"description_full":"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","last_updated":"2026-11-24T15:06:26.434Z","schemes":["exact"]}