Class StreamingIndicators

java.lang.Object
com.quantfinlib.indicators.StreamingIndicators

public final class StreamingIndicators extends Object
Incremental O(1)-per-tick indicators for live/HFT strategies: update state with each new value instead of recomputing arrays. Zero allocation after construction, and numerically identical to the batch Indicators implementations (same seeding and smoothing), so a strategy backtested on batch arrays behaves the same when run live on the streaming versions.

Instances are single-threaded by design — one per strategy/consumer thread — matching the single-consumer dispatch model of the HFT bus.