Package com.wualabs.qtsurfer.engine.indicators.core
package com.wualabs.qtsurfer.engine.indicators.core
Core interfaces and abstract base classes for the RTIndicator framework.
Primary interface
RTIndicator defines the contract
for all real-time indicators: getValue(), update(double), and reset().
Abstract base classes
AbstractRTIndicator– Base implementation storing a single valueAbstractIncrementalRTIndicator– For window-based indicators that maintain running state viatickValue()callbacksAbstractEmaRTIndicator– Base class for exponential moving average variantsAbstractDecorableRTIndicator– Supports wrapping another indicator as input (decorator pattern)AbstractDecorableIncrementalRTIndicator– Combines decoration with incremental/windowed computation
Supporting interfaces
Resettable– Functional interface for reset capabilityClockAware– Marker for time-aware indicatorsPeriodCounter– Tracks tick/period countsRTIndicatorSource– Source of indicator valuesTickerValueSource– Extracts values from XChange Ticker objectsFundingRateValueSource– Extracts funding rate values
- See Also:
-
ClassDescriptionIncremental indicator that optionally decorates (wraps) another indicator.Base class for EMA RT IndicatorsBase class for indicators that compute values incrementally from a stream of updates.Base RT indicator classBase class for RT indicators that use a single
WindowSeriesStore.Opt-in contract for an indicator that can state its own math identity, so a series it produced over one dataset can be replayed instead of recomputed.How an indicator's value should be presented — the typed view of theIndicatorMeta.DISPLAYmetadata entry.FundingRate enumeration of value sources, aligned with XChange's FundingRateInterval.Descriptive metadata an indicator carries about itself, kept separate from its registered name .ANoticean indicator group raises about its own wiring: it names the indicator concerned and the instrument whose group raised it, which is what makes a notice actionable when a strategy runs the same indicator set across many instruments.What makes a notice unique: the condition, and the indicator it concerns.Value sources available on a kline (bar): the OHLCV fields shared with every market snapshot plus the kline-only trade count.Common supertype for the scalar field selectors of the sealed market snapshot hierarchy:TickerValueSource(ticker fields incl. bid/ask/vwap) andKlineValueSource(kline OHLCV + trade stats).RichRTIndicator<T extends MarketSnapshot>Real-time indicator that consumes a fullMarketSnapshotrather than a single scalar value.Interface for a Real Time Indicator.Ticker enumeration of value sources