Summary
MatchedFlowConformalSignal is RTTA's streaming implementation of: Intraday OHLCV matched-flow signal with conformal-style rolling error bands and target sizing diagnostics.
Update API
result = rtta.MatchedFlowConformalSignal().update(open, high, low, close, volume)
The update(...) call consumes one observation using open, high, low, close, volume. advance(...)
uses the same inputs when the caller wants to update state without materializing
a Python return value.
Theory Of Operation
MatchedFlowConformalSignal is a composite intraday research signal. It forms a horizon return forecast from multi-scale momentum, signed dollar-flow participation, VWAP displacement, and abnormal activity; then it scales that forecast by a rolling empirical error quantile. The longer research note linked below discusses the paper lineage and the conformal-style calibration caveats.
Recurrence
Let \(z_t = (open_t, high_t, low_t, close_t, volume_t)\) denote the observation consumed by one
update(...) call and let \(\theta\) denote constructor parameters such as
window lengths, thresholds, and smoothing constants.
Here \(\operatorname{scale}_t\) is market capitalization when supplied and the normal dollar-volume baseline otherwise.
update(...) returns a result struct with fields prediction, radius, score, signal, target_fraction, alpha_flow, participation, flow_score, momentum, volatility, vwap_gap, rel_dollar_volume, max_trade_dollars, realized_error.
Implementation Notes
The recurrence is implemented in src/rtta/indicator.cpp in class MatchedFlowConformalSignal.
