Sha256: fb1a7e1538b129de59f61d1efdf3164d1ceb9447123a87182ae8e394612ee4a4
Contents?: true
Size: 908 Bytes
Versions: 13
Compression:
Stored size: 908 Bytes
Contents
# Sample bond contract definitions module IB module Symbols module Bonds extend Symbols def self.contracts @contracts ||= { :abbey => IB::Contract.new(:symbol => "ABBEY", :currency => "USD", :sec_type => :bond, :description => "Any ABBEY bond"), :ms => IB::Contract.new(:symbol => "MS", :currency => "USD", :sec_type => :bond, :description => "Any Morgan Stanley bond"), :wag => IB::Contract.new(:symbol => "WAG", :currency => "USD", :sec_type => :bond, :description => "Any Wallgreens bond"), } end end end end
Version data entries
13 entries across 13 versions & 3 rubygems