- crates/correlation: Pearson/covariance/stddev/beta, rolling correlation, and a named-series correlation matrix. Pure f64; zero-variance -> 0.0 (never NaN). 6 unit tests + doctest. - GET /correlation?series=NAME:v1,v2,…;NAME2:… -> correlation matrix (2 tests). - /correlation dashboard page renders the matrix with green/red tint by value; added to the /quant hub. - Registered in workspace; build green, clippy clean, tsc clean. - Counts: 28 crates, 75 routes, 74 pages; docs synced. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
10 lines
247 B
TOML
10 lines
247 B
TOML
[package]
|
|
name = "correlation"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
description = "Pearson correlation, covariance, beta, and a correlation matrix over return series."
|
|
|
|
[dependencies]
|
|
serde = { version = "1", features = ["derive"] }
|