Sha256: 3c5c6c94b46103c22eb41dbbf5bacf33f57b36681e1161885f9a78379bc28ed8

Contents?: true

Size: 697 Bytes

Versions: 20

Compression:

Stored size: 697 Bytes

Contents

# frozen_string_literal: true

module Cotcube
  module Bardata
    SYMBOL_EXAMPLES = [
      { id: '13874U', symbol: 'ET', ticksize: 0.25, power: 1.25, months: 'HMUZ', bcf: 1.0, reports: 'LF',
        name: 'S&P 500 MICRO' },
      { id: '209747', symbol: 'NM', ticksize: 0.25, power: 0.5,  months: 'HMUZ', bcf: 1.0, reports: 'LF',
        name: 'NASDAQ 100 MICRO' }
    ].freeze

    MONTH_COLOURS = { 'F' => :cyan, 'G' => :green, 'H' => :light_green,
                      'J' => :blue,  'K' => :yellow,  'M' => :light_yellow,
                      'N' => :cyan,  'Q' => :magenta, 'U' => :light_magenta,
                      'V' => :blue,  'X' => :red,     'Z' => :light_red }.freeze
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
cotcube-bardata-0.1.18 lib/cotcube-bardata/constants.rb
cotcube-bardata-0.1.17 lib/cotcube-bardata/constants.rb
cotcube-bardata-0.1.16 lib/cotcube-bardata/constants.rb
cotcube-bardata-0.1.15.6 lib/cotcube-bardata/constants.rb
cotcube-bardata-0.1.15.5 lib/cotcube-bardata/constants.rb
cotcube-bardata-0.1.15.4 lib/cotcube-bardata/constants.rb
cotcube-bardata-0.1.15.2 lib/cotcube-bardata/constants.rb
cotcube-bardata-0.1.14 lib/cotcube-bardata/constants.rb
cotcube-bardata-0.1.13 lib/cotcube-bardata/constants.rb
cotcube-bardata-0.1.12 lib/cotcube-bardata/constants.rb
cotcube-bardata-0.1.11 lib/cotcube-bardata/constants.rb
cotcube-bardata-0.1.10 lib/cotcube-bardata/constants.rb
cotcube-bardata-0.1.9.3 lib/cotcube-bardata/constants.rb
cotcube-bardata-0.1.9.2 lib/cotcube-bardata/constants.rb
cotcube-bardata-0.1.9.1 lib/cotcube-bardata/constants.rb
cotcube-bardata-0.1.8 lib/cotcube-bardata/constants.rb
cotcube-bardata-0.1.7 lib/cotcube-bardata/constants.rb
cotcube-bardata-0.1.6 lib/cotcube-bardata/constants.rb
cotcube-bardata-0.1.5 lib/cotcube-bardata/constants.rb
cotcube-bardata-0.1.4 lib/cotcube-bardata/constants.rb