Class AdjustedSOPRIndicator
java.lang.Object
com.wualabs.qtsurfer.engine.indicators.onchain.SOPRIndicator
com.wualabs.qtsurfer.engine.indicators.onchain.AdjustedSOPRIndicator
- All Implemented Interfaces:
OnChainIndicator
Adjusted SOPR (aSOPR).
Filters out short-lived outputs (lifespan < 1 hour) to reduce noise from relay transactions, change outputs, and intra-block movements.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublecalculate(OnChainSnapshot snapshot) Computes the indicator value from a snapshot.name()Returns the indicator name.Methods inherited from class SOPRIndicator
calculate
-
Constructor Details
-
AdjustedSOPRIndicator
public AdjustedSOPRIndicator() -
AdjustedSOPRIndicator
-
-
Method Details
-
name
Description copied from interface:OnChainIndicatorReturns the indicator name.- Specified by:
namein interfaceOnChainIndicator- Overrides:
namein classSOPRIndicator
-
calculate
Description copied from interface:OnChainIndicatorComputes the indicator value from a snapshot.- Specified by:
calculatein interfaceOnChainIndicator- Overrides:
calculatein classSOPRIndicator- Parameters:
snapshot- the on-chain data snapshot- Returns:
- the computed indicator value, or
Double.NaNif not computable
-