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