Volatility.Realized
type t
val create : window:int -> recompute_every:int -> t
val update : t -> price:float -> float
Returns the realized volatility (std dev of log-returns) over the most recent window ticks.
window
val value : t -> float
val n : t -> int