Method: TechnicalAnalysis::NviValue#to_hash

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

#to_hashHash

Returns the attributes as a hash.

Returns:

  • (Hash)

    the attributes as a hash



97
98
99
# File 'lib/technical_analysis/indicators/nvi.rb', line 97

def to_hash
  { date_time: @date_time, nvi: @nvi }
end