db/migrate/131_add_orders.rb in ib-ruby-0.8.0 vs db/migrate/131_add_orders.rb in ib-ruby-0.8.1
- old
+ new
@@ -81,12 +81,12 @@
t.string :hedge_param # String; value depends on the hedgeType; sent from the API
t.float :basis_points # double: EFP orders only
t.float :basis_points_type # double: EFP orders only
t.string :algo_strategy
- # t.string :algo_params # public Vector<TagValue> m_algoParams; ?!
- # t.string :leg_prices # Vector<OrderComboLeg> m_orderComboLegs
- # t.string :combo_params # not used yet
+ t.text :leg_prices # Vector<OrderComboLeg> m_orderComboLegs
+ t.text :algo_params # public Vector<TagValue> m_algoParams; ?!
+ t.text :combo_params # not used yet
t.integer :scale_init_level_size # int: Size of the first (initial) order component.
t.integer :scale_subs_level_size # int: Order size of the subsequent scale order
t.float :scale_price_increment # double: Price increment between scale components.
t.float :scale_price_adjust_value