Sha256: edf57fd9fa5707b60113a962d68d39b25793116dafb30dda8bb5d83d3422a898

Contents?: true

Size: 405 Bytes

Versions: 1

Compression:

Stored size: 405 Bytes

Contents

require './lib/signal_tools/technicals/common'
require './lib/signal_tools/technicals/stochastic'

module SignalTools::Technicals
  class FastStochastic
    include Common
    include Stochastic

    def initialize(stock_data, k_period, d_period)
      @d_period = d_period
      @k_period = k_period
      @stock_data = stock_data
    end

    def calculate
      fast_stochastic_points
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
signal_tools-0.3.1 lib/signal_tools/technicals/fast_stochastic.rb