Method: TechnicalAnalysis::TsiValue#to_hash

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

#to_hashHash

Returns the attributes as a hash.

Returns:

  • (Hash)

    the attributes as a hash



134
135
136
# File 'lib/technical_analysis/indicators/tsi.rb', line 134

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