Sha256: 774b9c292d1ae1f16c187251653c33a770be8acb10c656e90f5ee08a238eacce

Contents?: true

Size: 690 Bytes

Versions: 3

Compression:

Stored size: 690 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,  monhts: "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

3 entries across 3 versions & 1 rubygems

Version Path
cotcube-bardata-0.1.3 lib/cotcube-bardata/constants.rb
cotcube-bardata-0.1.2 lib/cotcube-bardata/constants.rb
cotcube-bardata-0.1.1 lib/cotcube-bardata/constants.rb