Method: TechnicalAnalysis::Vwap.min_data_size

Defined in:
lib/technical_analysis/indicators/vwap.rb

.min_data_size(**params) ⇒ Integer

Calculates the minimum number of observations needed to calculate the technical indicator

Parameters:

  • The options for the technical indicator

Returns:

  • Returns the minimum number of observations needed to calculate the technical indicator based on the options provided



42
43
44
# File 'lib/technical_analysis/indicators/vwap.rb', line 42

def self.min_data_size(**params)
  1
end