Method: TechnicalAnalysis::MfiValue#to_hash

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

#to_hashHash

Returns the attributes as a hash.

Returns:

  • (Hash)

    the attributes as a hash



114
115
116
# File 'lib/technical_analysis/indicators/mfi.rb', line 114

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