import React from "react"; export default function MacroCorrelations({ data }) { if (!data || !data.correlations) return null; return (
Portfolio sensitivity to major economic indicators.
| Indicator | Correlation | Rolling (60d) | Interpretation |
|---|---|---|---|
| {c.indicator} |
{c.correlation > 0 ? "+" : ""}{c.correlation.toFixed(3)}
0 ? "var(--success)" : "var(--error)",
}} />
|
{c.rolling_current != null ? c.rolling_current.toFixed(3) : "—"} | {c.interpretation} |