Caelum 1031567ebc
feat(product): correlation crate + GET /correlation + page + /quant hub entry (#10)
- 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>
2026-06-16 14:59:58 +03:00

38 lines
1.2 KiB
TOML

[package]
name = "guardrail-api"
version.workspace = true
edition.workspace = true
license.workspace = true
[dependencies]
event-store.workspace = true
observability.workspace = true
common.workspace = true
market-data.workspace = true
cmc-client.workspace = true
twak-client.workspace = true
strategy-engine.workspace = true
risk-engine.workspace = true
backtester.workspace = true
bnb-agent.workspace = true
chain-verifier.workspace = true
ta-signals = { path = "../../crates/ta-signals" }
fee-model = { path = "../../crates/fee-model" }
position-sizer = { path = "../../crates/position-sizer" }
orderbook = { path = "../../crates/orderbook" }
pnl-attribution = { path = "../../crates/pnl-attribution" }
correlation = { path = "../../crates/correlation" }
indicators = { path = "../../crates/indicators" }
portfolio-optimizer = { path = "../../crates/portfolio-optimizer" }
skill-loader = { path = "../../crates/skill-loader" }
policy-compiler.workspace = true
serde.workspace = true
serde_json.workspace = true
axum.workspace = true
tokio.workspace = true
futures.workspace = true
anyhow.workspace = true
tower-http.workspace = true
chrono.workspace = true
rust_decimal.workspace = true