Class: Quant::PivotsSource

Inherits:
Object
  • Object
show all
Defined in:
lib/quant/pivots_source.rb

Instance Method Summary collapse

Constructor Details

#initialize(indicator_source:) ⇒ PivotsSource

Returns a new instance of PivotsSource.



5
6
7
8
# File 'lib/quant/pivots_source.rb', line 5

def initialize(indicator_source:)
  @indicator_source = indicator_source
  indicator_source.define_indicator_accessors(indicator_source: self)
end