Skip to content

Commit 6f13429

Browse files
author
Hartmut Bischoff
committed
Updated the List of Security Types
1 parent d80dd17 commit 6f13429

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

lib/ib/constants.rb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ module IB
205205
'NONE' => :none, # Used to indicate no hedge in :delta_neutral_order_type
206206
'None' => :none, # Used to indicate no hedge in :delta_neutral_order_type
207207
}.freeze
208-
209208
# Valid security types (sec_type attribute of IB::Contract)
210209
SECURITY_TYPES =
211210
{ 'BAG' => :bag,
@@ -223,7 +222,13 @@ module IB
223222
'OPT' => :option,
224223
'IOPT' => :dutch_option,
225224
'STK' => :stock,
226-
'WAR' => :warrant}.freeze
225+
'WAR' => :warrant,
226+
'ICU' => :icu,
227+
'ICS' => :ics,
228+
'BILL' => :bill,
229+
'BSK' => :basket,
230+
'FWD' => :forward,
231+
'FIXED' => :fixed }.freeze
227232

228233
# Obtain symbolic value from given property code:
229234
# VALUES[:side]['B'] -> :buy

0 commit comments

Comments
 (0)