Module: StockCruncher

Defined in:
lib/stockcruncher.rb,
lib/stockcruncher/cli.rb,
lib/stockcruncher/stats.rb,
lib/stockcruncher/config.rb,
lib/stockcruncher/version.rb,
lib/stockcruncher/cruncher.rb,
lib/stockcruncher/influxdb.rb,
lib/stockcruncher/alphavantage.rb

Overview

StockCruncher class

Defined Under Namespace

Modules: Config, Stats Classes: AlphaVantage, CLI, Cruncher, InfluxDB

Constant Summary collapse

VERSION =
'1.4.2'

Class Method Summary collapse

Class Method Details

.start(args = ARGV) ⇒ Object



11
12
13
14
15
16
# File 'lib/stockcruncher.rb', line 11

def start(args = ARGV)
  StockCruncher::CLI.start(args)
rescue StandardError => e
  warn e.message
  exit 1
end