Sha256: b1ccc5bdc103eeda528f98654d8a328b854f796fa1e088fb1437f19ff03ac387

Contents?: true

Size: 976 Bytes

Versions: 15

Compression:

Stored size: 976 Bytes

Contents

# Stock contracts definitions
#
# Note that the :description field is particular to ib-ruby, and is NOT part of the
# standard TWS API. It is never transmitted to IB. It's purely used clientside, and
# you can store any arbitrary string that you may find useful there.

module IB
  module Symbols

    Stocks =
        {:wfc => Models::Contract.new(:symbol => "WFC",
                                      :exchange => "NYSE",
                                      :currency => "USD",
                                      :sec_type => SECURITY_TYPES[:stock],
                                      :description => "Wells Fargo"),
        :wrong => Models::Contract.new(:symbol => "QEEUUE",
                                      :exchange => "NYSE",
                                      :currency => "USD",
                                      :sec_type => SECURITY_TYPES[:stock],
                                      :description => "Inexistent stock"),
        }
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ib-ruby-0.5.19 lib/ib-ruby/symbols/stocks.rb
ib-ruby-0.5.18 lib/ib-ruby/symbols/stocks.rb
ib-ruby-0.5.17 lib/ib-ruby/symbols/stocks.rb
ib-ruby-0.5.16 lib/ib-ruby/symbols/stocks.rb
ib-ruby-0.5.15 lib/ib-ruby/symbols/stocks.rb
ib-ruby-0.5.14 lib/ib-ruby/symbols/stocks.rb
ib-ruby-0.5.13 lib/ib-ruby/symbols/stocks.rb
ib-ruby-0.5.12 lib/ib-ruby/symbols/stocks.rb
ib-ruby-0.5.11 lib/ib-ruby/symbols/stocks.rb
ib-ruby-0.5.10 lib/ib-ruby/symbols/stocks.rb
ib-ruby-0.5.9 lib/ib-ruby/symbols/stocks.rb
ib-ruby-0.5.7 lib/ib-ruby/symbols/stocks.rb
ib-ruby-0.5.2 lib/ib-ruby/symbols/stocks.rb
ib-ruby-0.5.0 lib/ib-ruby/symbols/stocks.rb
ib-ruby-0.4.22 lib/ib-ruby/symbols/stocks.rb