Sha256: bc6e0772a720ab01620874a5bf72d0530c7cf96f32105a1e8c0927f1496d8d8f

Contents?: true

Size: 920 Bytes

Versions: 2

Compression:

Stored size: 920 Bytes

Contents

# frozen_string_literal: true

require 'active_support'
require 'active_support/core_ext/string'
require 'daru'
require 'date'

require 'debug_me'
include DebugMe

require 'descriptive_statistics'
require 'mixlib/config'
require 'nenv'
require 'pathname'
require "version_gem"

unless defined?(HOME)
	HOME = Pathname.new(Nenv.home)
end


module SQA
	module Config
    extend Mixlib::Config
    config_strict_mode true

    default :data_dir,  				HOME + "sqa_data"
    default :plotting_library, 	:gruff
    default :lazy_update,  			false
	end

	def self.init
		Daru.lazy_update 			= Config.lazy_update
		Daru.plotting_library = Config.plotting_library

		nil
	end
end

require_relative "sqa/data_frame"
require_relative "sqa/errors"
require_relative "sqa/indicator"
require_relative "sqa/strategy"
require_relative "sqa/stock"
require_relative "sqa/version"


SQA::Version.class_eval do
  extend VersionGem::Basic
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sqa-0.0.4 lib/sqa.rb
sqa-0.0.3 lib/sqa.rb