7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# File 'lib/ib/symbols/bonds.rb', line 7
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
|