Method: TechnicalAnalysis::CmfValue#to_hash

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

#to_hashHash

Returns the attributes as a hash.

Returns:

  • (Hash)

    the attributes as a hash



100
101
102
# File 'lib/technical_analysis/indicators/cmf.rb', line 100

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