Class NVTRatioIndicator
java.lang.Object
com.wualabs.qtsurfer.engine.indicators.onchain.NVTRatioIndicator
- All Implemented Interfaces:
OnChainIndicator
Network Value to Transactions (NVT) Ratio.
On-chain equivalent of the P/E ratio:
NVT = marketCap / transactionVolume
- High NVT: network value is high relative to transaction volume (potentially overvalued)
- Low NVT: high transaction volume relative to market cap (potentially undervalued)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublecalculate(OnChainSnapshot snapshot) Computes the indicator value from a snapshot.name()Returns the indicator name.
-
Constructor Details
-
NVTRatioIndicator
public NVTRatioIndicator()
-
-
Method Details
-
name
Description copied from interface:OnChainIndicatorReturns the indicator name.- Specified by:
namein interfaceOnChainIndicator
-
calculate
Description copied from interface:OnChainIndicatorComputes the indicator value from a snapshot.- Specified by:
calculatein interfaceOnChainIndicator- Parameters:
snapshot- the on-chain data snapshot- Returns:
- the computed indicator value, or
Double.NaNif not computable
-