Sha256: e57dc7e006ebea1731d38917c9c1f85e528d2c9d7715c97ed93220b01f0923c7
Contents?: true
Size: 1.22 KB
Versions: 2
Compression:
Stored size: 1.22 KB
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 Options = {:wfc20 => Models::Contract.new(:symbol => "WFC", :exchange => "SMART", :expiry => "201110", :right => "CALL", :strike => 20.0, :sec_type => SECURITY_TYPES[:option], :description => "Wells Fargo 20 Call 2011-10"), :z50 => Models::Contract.new(:symbol => "Z", :exchange => "LIFFE", :expiry => "201110", :right => "CALL", :strike => 50.0, :sec_type => SECURITY_TYPES[:option], :description => " FTSE-100 index 50 Call 2011-10"), } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ib-ruby-0.5.0 | lib/ib-ruby/symbols/options.rb |
ib-ruby-0.4.22 | lib/ib-ruby/symbols/options.rb |