Uses of Interface
com.wualabs.qtsurfer.engine.core.state.StateStore
Packages that use StateStore
Package
Description
State management and sliding-window data structures.
Utility and compositional indicators for building complex indicator pipelines.
Multi-indicator containers and builders for managing groups of indicators per instrument.
-
Uses of StateStore in com.wualabs.qtsurfer.engine.core.state
Classes in com.wualabs.qtsurfer.engine.core.state that implement StateStoreMethods in com.wualabs.qtsurfer.engine.core.state that return StateStoreModifier and TypeMethodDescriptionStateStoreProvider.getStateStore(Instrument instrument) Returns the state store for the given instrument. -
Uses of StateStore in com.wualabs.qtsurfer.engine.indicators.helpers
Methods in com.wualabs.qtsurfer.engine.indicators.helpers that return StateStoreModifier and TypeMethodDescriptionOnChangeRTIndicator.getStateStore()Resolves this indicator's state store: the externally supplied one ifOnChangeRTIndicator.setStateStoreSupplier(Supplier)was called, otherwise a private in-memory store created on demand.Methods in com.wualabs.qtsurfer.engine.indicators.helpers with parameters of type StateStoreModifier and TypeMethodDescriptionprotected voidOnChangeRTIndicator.notifyOnChange(@NonNull StateStore store, double prevValue, double newValue) Broadcasts with a store the caller already resolved, so an event that had to write state itself does not resolve twice.voidOnChangeRTIndicator.OnChangeListener.onChange(StateStore store, double prev, double actual) Fired on a value change with the resolvedStateStoredirectly — never a factory to unwrap.Method parameters in com.wualabs.qtsurfer.engine.indicators.helpers with type arguments of type StateStoreModifier and TypeMethodDescriptionvoidOnChangeRTIndicator.setStateStoreSupplier(@NonNull Supplier<StateStore> stateStoreSupplier) Routes this indicator's state at an externally owned store, typically the one shared by every indicator of an instrument. -
Uses of StateStore in com.wualabs.qtsurfer.engine.indicators.helpers.group
Methods in com.wualabs.qtsurfer.engine.indicators.helpers.group that return StateStoreModifier and TypeMethodDescriptionInstrumentGroupRTIndicator.getStateStore()Returns this group's state store — the single store every window listener of this instrument shares — either the injected one or an in-memory store created on first access.Method parameters in com.wualabs.qtsurfer.engine.indicators.helpers.group with type arguments of type StateStoreModifier and TypeMethodDescriptionInstrumentGroupRTIndicator.stateStoreSupplier(@NonNull Supplier<StateStore> stateStoreSupplier) Replaces the store this group hands to its windows.WindowTimeRTIndicatorBuilder.stateStoreSupplier(Supplier<StateStore> stateStoreSupplier) -
Uses of StateStore in com.wualabs.qtsurfer.engine.strategy
Methods in com.wualabs.qtsurfer.engine.strategy that return StateStoreModifier and TypeMethodDescriptionprotected StateStoreAbstractSubscriptionStrategy.getStateStoreForResult(ExecutionResult result) Methods in com.wualabs.qtsurfer.engine.strategy that return types with arguments of type StateStoreModifier and TypeMethodDescriptionAbstractSubscriptionStrategy.getStateStore(@NonNull Instrument instrument) default Optional<StateStore> Strategy.getStateStore(@NonNull Instrument instrument) -
Uses of StateStore in com.wualabs.qtsurfer.engine.strategy.execution
Methods in com.wualabs.qtsurfer.engine.strategy.execution that return types with arguments of type StateStoreModifier and TypeMethodDescriptionprotected Optional<StateStore> AbstractExecutionCallback.getStateStore(Instrument instrument) protected Optional<StateStore> AbstractExecutionCallback.getStateStore(ExecutionResult result)