Module Algostream_risk_management.Correlation_breakdown

Detect when a tracked correlation drifts away from its baseline.

Two EWMAs over the correlation feed: a long-period baseline (default 60) and a short-period current (default 10). The status ladder reports increasing severity:

Built on top of Algostream_analytics.Filters.Ewma.

type status =
  1. | Stable
  2. | Weakening of float
    (*

    current corr value

    *)
  3. | Broken_down of float
  4. | Sign_flipped of float
module Detector : sig ... end
val status_to_string : status -> string