Class: IbRubyProxy::Client::Ib::Order

Inherits:
Struct
  • Object
show all
Defined in:
lib/ib_ruby_proxy/client/ib/order.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client_id: 0, order_id: 0, perm_id: 0, parent_id: 0, action: nil, total_quantity: 0, display_size: 0, order_type: nil, lmt_price: 0, aux_price: 0, tif: nil, account: nil, settling_firm: nil, clearing_account: nil, clearing_intent: nil, all_or_none: false, block_order: false, hidden: false, outside_rth: false, sweep_to_fill: false, percent_offset: 0, trailing_percent: 0, trail_stop_price: 0, min_qty: 0, good_after_time: nil, good_till_date: nil, oca_group: nil, order_ref: nil, rule80_a: nil, oca_type: 0, trigger_method: 0, active_start_time: nil, active_stop_time: nil, fa_group: nil, fa_method: nil, fa_percentage: nil, fa_profile: nil, volatility: 0, volatility_type: 0, continuous_update: 0, reference_price_type: 0, delta_neutral_order_type: nil, delta_neutral_aux_price: 0, delta_neutral_con_id: 0, delta_neutral_open_close: nil, delta_neutral_short_sale: false, delta_neutral_short_sale_slot: 0, delta_neutral_designated_location: nil, scale_init_level_size: 0, scale_subs_level_size: 0, scale_price_increment: 0, scale_price_adjust_value: 0, scale_price_adjust_interval: 0, scale_profit_offset: 0, scale_auto_reset: false, scale_init_position: 0, scale_init_fill_qty: 0, scale_random_percent: false, scale_table: nil, hedge_type: nil, hedge_param: nil, algo_strategy: nil, algo_params: nil, algo_id: nil, smart_combo_routing_params: nil, order_combo_legs: nil, what_if: false, transmit: false, override_percentage_constraints: false, open_close: nil, origin: 0, short_sale_slot: 0, designated_location: nil, exempt_code: 0, delta_neutral_settling_firm: nil, delta_neutral_clearing_account: nil, delta_neutral_clearing_intent: nil, discretionary_amt: 0, e_trade_only: false, firm_quote_only: false, nbbo_price_cap: 0, opt_out_smart_routing: false, auction_strategy: 0, starting_price: 0, stock_ref_price: 0, delta: 0, stock_range_lower: 0, stock_range_upper: 0, basis_points: 0, basis_points_type: 0, not_held: false, order_misc_options: nil, solicited: false, randomize_size: false, randomize_price: false, reference_contract_id: 0, pegged_change_amount: 0, is_pegged_change_amount_decrease: false, reference_change_amount: 0, reference_exchange_id: nil, adjusted_order_type: nil, trigger_price: 0, adjusted_stop_price: 0, adjusted_stop_limit_price: 0, adjusted_trailing_amount: 0, adjustable_trailing_unit: 0, lmt_price_offset: 0, conditions: nil, conditions_cancel_order: false, conditions_ignore_rth: false, model_code: nil, ext_operator: nil, soft_dollar_tier: nil, cash_qty: 0, mifid2_decision_maker: nil, mifid2_decision_algo: nil, mifid2_execution_trader: nil, mifid2_execution_algo: nil, dont_use_auto_price_for_hedge: false, is_oms_container: false, discretionary_up_to_limit_price: false) ⇒ Order

Returns a new instance of Order.



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 9

def initialize(client_id: 0, order_id: 0, perm_id: 0, parent_id: 0, action: nil, total_quantity: 0, display_size: 0, order_type: nil, lmt_price: 0, aux_price: 0, tif: nil, account: nil, settling_firm: nil, clearing_account: nil, clearing_intent: nil, all_or_none: false, block_order: false, hidden: false, outside_rth: false, sweep_to_fill: false, percent_offset: 0, trailing_percent: 0, trail_stop_price: 0, min_qty: 0, good_after_time: nil, good_till_date: nil, oca_group: nil, order_ref: nil, rule80_a: nil, oca_type: 0, trigger_method: 0, active_start_time: nil, active_stop_time: nil, fa_group: nil, fa_method: nil, fa_percentage: nil, fa_profile: nil, volatility: 0, volatility_type: 0, continuous_update: 0, reference_price_type: 0, delta_neutral_order_type: nil, delta_neutral_aux_price: 0, delta_neutral_con_id: 0, delta_neutral_open_close: nil, delta_neutral_short_sale: false, delta_neutral_short_sale_slot: 0, delta_neutral_designated_location: nil, scale_init_level_size: 0, scale_subs_level_size: 0, scale_price_increment: 0, scale_price_adjust_value: 0, scale_price_adjust_interval: 0, scale_profit_offset: 0, scale_auto_reset: false, scale_init_position: 0, scale_init_fill_qty: 0, scale_random_percent: false, scale_table: nil, hedge_type: nil, hedge_param: nil, algo_strategy: nil, algo_params: nil, algo_id: nil, smart_combo_routing_params: nil, order_combo_legs: nil, what_if: false, transmit: false, override_percentage_constraints: false, open_close: nil, origin: 0, short_sale_slot: 0, designated_location: nil, exempt_code: 0, delta_neutral_settling_firm: nil, delta_neutral_clearing_account: nil, delta_neutral_clearing_intent: nil, discretionary_amt: 0, e_trade_only: false, firm_quote_only: false, nbbo_price_cap: 0, opt_out_smart_routing: false, auction_strategy: 0, starting_price: 0, stock_ref_price: 0, delta: 0, stock_range_lower: 0, stock_range_upper: 0, basis_points: 0, basis_points_type: 0, not_held: false, order_misc_options: nil, solicited: false, randomize_size: false, randomize_price: false, reference_contract_id: 0, pegged_change_amount: 0, is_pegged_change_amount_decrease: false, reference_change_amount: 0, reference_exchange_id: nil, adjusted_order_type: nil, trigger_price: 0, adjusted_stop_price: 0, adjusted_stop_limit_price: 0, adjusted_trailing_amount: 0, adjustable_trailing_unit: 0, lmt_price_offset: 0, conditions: nil, conditions_cancel_order: false, conditions_ignore_rth: false, model_code: nil, ext_operator: nil, soft_dollar_tier: nil, cash_qty: 0, mifid2_decision_maker: nil, mifid2_decision_algo: nil, mifid2_execution_trader: nil, mifid2_execution_algo: nil, dont_use_auto_price_for_hedge: false, is_oms_container: false, discretionary_up_to_limit_price: false)
  self.client_id = client_id
  self.order_id = order_id
  self.perm_id = perm_id
  self.parent_id = parent_id
  self.action = action
  self.total_quantity = total_quantity
  self.display_size = display_size
  self.order_type = order_type
  self.lmt_price = lmt_price
  self.aux_price = aux_price
  self.tif = tif
  self. = 
  self.settling_firm = settling_firm
  self. = 
  self.clearing_intent = clearing_intent
  self.all_or_none = all_or_none
  self.block_order = block_order
  self.hidden = hidden
  self.outside_rth = outside_rth
  self.sweep_to_fill = sweep_to_fill
  self.percent_offset = percent_offset
  self.trailing_percent = trailing_percent
  self.trail_stop_price = trail_stop_price
  self.min_qty = min_qty
  self.good_after_time = good_after_time
  self.good_till_date = good_till_date
  self.oca_group = oca_group
  self.order_ref = order_ref
  self.rule80_a = rule80_a
  self.oca_type = oca_type
  self.trigger_method = trigger_method
  self.active_start_time = active_start_time
  self.active_stop_time = active_stop_time
  self.fa_group = fa_group
  self.fa_method = fa_method
  self.fa_percentage = fa_percentage
  self.fa_profile = fa_profile
  self.volatility = volatility
  self.volatility_type = volatility_type
  self.continuous_update = continuous_update
  self.reference_price_type = reference_price_type
  self.delta_neutral_order_type = delta_neutral_order_type
  self.delta_neutral_aux_price = delta_neutral_aux_price
  self.delta_neutral_con_id = delta_neutral_con_id
  self.delta_neutral_open_close = delta_neutral_open_close
  self.delta_neutral_short_sale = delta_neutral_short_sale
  self.delta_neutral_short_sale_slot = delta_neutral_short_sale_slot
  self.delta_neutral_designated_location = delta_neutral_designated_location
  self.scale_init_level_size = scale_init_level_size
  self.scale_subs_level_size = scale_subs_level_size
  self.scale_price_increment = scale_price_increment
  self.scale_price_adjust_value = scale_price_adjust_value
  self.scale_price_adjust_interval = scale_price_adjust_interval
  self.scale_profit_offset = scale_profit_offset
  self.scale_auto_reset = scale_auto_reset
  self.scale_init_position = scale_init_position
  self.scale_init_fill_qty = scale_init_fill_qty
  self.scale_random_percent = scale_random_percent
  self.scale_table = scale_table
  self.hedge_type = hedge_type
  self.hedge_param = hedge_param
  self.algo_strategy = algo_strategy
  self.algo_params = algo_params
  self.algo_id = algo_id
  self.smart_combo_routing_params = smart_combo_routing_params
  self.order_combo_legs = order_combo_legs
  self.what_if = what_if
  self.transmit = transmit
  self.override_percentage_constraints = override_percentage_constraints
  self.open_close = open_close
  self.origin = origin
  self.short_sale_slot = short_sale_slot
  self.designated_location = designated_location
  self.exempt_code = exempt_code
  self.delta_neutral_settling_firm = delta_neutral_settling_firm
  self. = 
  self.delta_neutral_clearing_intent = delta_neutral_clearing_intent
  self.discretionary_amt = discretionary_amt
  self.e_trade_only = e_trade_only
  self.firm_quote_only = firm_quote_only
  self.nbbo_price_cap = nbbo_price_cap
  self.opt_out_smart_routing = opt_out_smart_routing
  self.auction_strategy = auction_strategy
  self.starting_price = starting_price
  self.stock_ref_price = stock_ref_price
  self.delta = delta
  self.stock_range_lower = stock_range_lower
  self.stock_range_upper = stock_range_upper
  self.basis_points = basis_points
  self.basis_points_type = basis_points_type
  self.not_held = not_held
  self.order_misc_options = order_misc_options
  self.solicited = solicited
  self.randomize_size = randomize_size
  self.randomize_price = randomize_price
  self.reference_contract_id = reference_contract_id
  self.pegged_change_amount = pegged_change_amount
  self.is_pegged_change_amount_decrease = is_pegged_change_amount_decrease
  self.reference_change_amount = reference_change_amount
  self.reference_exchange_id = reference_exchange_id
  self.adjusted_order_type = adjusted_order_type
  self.trigger_price = trigger_price
  self.adjusted_stop_price = adjusted_stop_price
  self.adjusted_stop_limit_price = adjusted_stop_limit_price
  self.adjusted_trailing_amount = adjusted_trailing_amount
  self.adjustable_trailing_unit = adjustable_trailing_unit
  self.lmt_price_offset = lmt_price_offset
  self.conditions = conditions
  self.conditions_cancel_order = conditions_cancel_order
  self.conditions_ignore_rth = conditions_ignore_rth
  self.model_code = model_code
  self.ext_operator = ext_operator
  self.soft_dollar_tier = soft_dollar_tier
  self.cash_qty = cash_qty
  self.mifid2_decision_maker = mifid2_decision_maker
  self.mifid2_decision_algo = mifid2_decision_algo
  self.mifid2_execution_trader = mifid2_execution_trader
  self.mifid2_execution_algo = mifid2_execution_algo
  self.dont_use_auto_price_for_hedge = dont_use_auto_price_for_hedge
  self.is_oms_container = is_oms_container
  self.discretionary_up_to_limit_price = discretionary_up_to_limit_price
end

Instance Attribute Details

#accountObject

Returns the value of attribute account

Returns:

  • (Object)

    the current value of account



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def 
  @account
end

#actionObject

Returns the value of attribute action

Returns:

  • (Object)

    the current value of action



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def action
  @action
end

#active_start_timeObject

Returns the value of attribute active_start_time

Returns:

  • (Object)

    the current value of active_start_time



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def active_start_time
  @active_start_time
end

#active_stop_timeObject

Returns the value of attribute active_stop_time

Returns:

  • (Object)

    the current value of active_stop_time



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def active_stop_time
  @active_stop_time
end

#adjustable_trailing_unitObject

Returns the value of attribute adjustable_trailing_unit

Returns:

  • (Object)

    the current value of adjustable_trailing_unit



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def adjustable_trailing_unit
  @adjustable_trailing_unit
end

#adjusted_order_typeObject

Returns the value of attribute adjusted_order_type

Returns:

  • (Object)

    the current value of adjusted_order_type



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def adjusted_order_type
  @adjusted_order_type
end

#adjusted_stop_limit_priceObject

Returns the value of attribute adjusted_stop_limit_price

Returns:

  • (Object)

    the current value of adjusted_stop_limit_price



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def adjusted_stop_limit_price
  @adjusted_stop_limit_price
end

#adjusted_stop_priceObject

Returns the value of attribute adjusted_stop_price

Returns:

  • (Object)

    the current value of adjusted_stop_price



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def adjusted_stop_price
  @adjusted_stop_price
end

#adjusted_trailing_amountObject

Returns the value of attribute adjusted_trailing_amount

Returns:

  • (Object)

    the current value of adjusted_trailing_amount



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def adjusted_trailing_amount
  @adjusted_trailing_amount
end

#algo_idObject

Returns the value of attribute algo_id

Returns:

  • (Object)

    the current value of algo_id



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def algo_id
  @algo_id
end

#algo_paramsObject

Returns the value of attribute algo_params

Returns:

  • (Object)

    the current value of algo_params



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def algo_params
  @algo_params
end

#algo_strategyObject

Returns the value of attribute algo_strategy

Returns:

  • (Object)

    the current value of algo_strategy



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def algo_strategy
  @algo_strategy
end

#all_or_noneObject

Returns the value of attribute all_or_none

Returns:

  • (Object)

    the current value of all_or_none



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def all_or_none
  @all_or_none
end

#auction_strategyObject

Returns the value of attribute auction_strategy

Returns:

  • (Object)

    the current value of auction_strategy



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def auction_strategy
  @auction_strategy
end

#aux_priceObject

Returns the value of attribute aux_price

Returns:

  • (Object)

    the current value of aux_price



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def aux_price
  @aux_price
end

#basis_pointsObject

Returns the value of attribute basis_points

Returns:

  • (Object)

    the current value of basis_points



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def basis_points
  @basis_points
end

#basis_points_typeObject

Returns the value of attribute basis_points_type

Returns:

  • (Object)

    the current value of basis_points_type



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def basis_points_type
  @basis_points_type
end

#block_orderObject

Returns the value of attribute block_order

Returns:

  • (Object)

    the current value of block_order



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def block_order
  @block_order
end

#cash_qtyObject

Returns the value of attribute cash_qty

Returns:

  • (Object)

    the current value of cash_qty



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def cash_qty
  @cash_qty
end

#clearing_accountObject

Returns the value of attribute clearing_account

Returns:

  • (Object)

    the current value of clearing_account



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def 
  @clearing_account
end

#clearing_intentObject

Returns the value of attribute clearing_intent

Returns:

  • (Object)

    the current value of clearing_intent



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def clearing_intent
  @clearing_intent
end

#client_idObject

Returns the value of attribute client_id

Returns:

  • (Object)

    the current value of client_id



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def client_id
  @client_id
end

#conditionsObject

Returns the value of attribute conditions

Returns:

  • (Object)

    the current value of conditions



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def conditions
  @conditions
end

#conditions_cancel_orderObject

Returns the value of attribute conditions_cancel_order

Returns:

  • (Object)

    the current value of conditions_cancel_order



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def conditions_cancel_order
  @conditions_cancel_order
end

#conditions_ignore_rthObject

Returns the value of attribute conditions_ignore_rth

Returns:

  • (Object)

    the current value of conditions_ignore_rth



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def conditions_ignore_rth
  @conditions_ignore_rth
end

#continuous_updateObject

Returns the value of attribute continuous_update

Returns:

  • (Object)

    the current value of continuous_update



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def continuous_update
  @continuous_update
end

#deltaObject

Returns the value of attribute delta

Returns:

  • (Object)

    the current value of delta



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def delta
  @delta
end

#delta_neutral_aux_priceObject

Returns the value of attribute delta_neutral_aux_price

Returns:

  • (Object)

    the current value of delta_neutral_aux_price



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def delta_neutral_aux_price
  @delta_neutral_aux_price
end

#delta_neutral_clearing_accountObject

Returns the value of attribute delta_neutral_clearing_account

Returns:

  • (Object)

    the current value of delta_neutral_clearing_account



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def 
  @delta_neutral_clearing_account
end

#delta_neutral_clearing_intentObject

Returns the value of attribute delta_neutral_clearing_intent

Returns:

  • (Object)

    the current value of delta_neutral_clearing_intent



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def delta_neutral_clearing_intent
  @delta_neutral_clearing_intent
end

#delta_neutral_con_idObject

Returns the value of attribute delta_neutral_con_id

Returns:

  • (Object)

    the current value of delta_neutral_con_id



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def delta_neutral_con_id
  @delta_neutral_con_id
end

#delta_neutral_designated_locationObject

Returns the value of attribute delta_neutral_designated_location

Returns:

  • (Object)

    the current value of delta_neutral_designated_location



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def delta_neutral_designated_location
  @delta_neutral_designated_location
end

#delta_neutral_open_closeObject

Returns the value of attribute delta_neutral_open_close

Returns:

  • (Object)

    the current value of delta_neutral_open_close



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def delta_neutral_open_close
  @delta_neutral_open_close
end

#delta_neutral_order_typeObject

Returns the value of attribute delta_neutral_order_type

Returns:

  • (Object)

    the current value of delta_neutral_order_type



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def delta_neutral_order_type
  @delta_neutral_order_type
end

#delta_neutral_settling_firmObject

Returns the value of attribute delta_neutral_settling_firm

Returns:

  • (Object)

    the current value of delta_neutral_settling_firm



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def delta_neutral_settling_firm
  @delta_neutral_settling_firm
end

#delta_neutral_short_saleObject

Returns the value of attribute delta_neutral_short_sale

Returns:

  • (Object)

    the current value of delta_neutral_short_sale



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def delta_neutral_short_sale
  @delta_neutral_short_sale
end

#delta_neutral_short_sale_slotObject

Returns the value of attribute delta_neutral_short_sale_slot

Returns:

  • (Object)

    the current value of delta_neutral_short_sale_slot



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def delta_neutral_short_sale_slot
  @delta_neutral_short_sale_slot
end

#designated_locationObject

Returns the value of attribute designated_location

Returns:

  • (Object)

    the current value of designated_location



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def designated_location
  @designated_location
end

#discretionary_amtObject

Returns the value of attribute discretionary_amt

Returns:

  • (Object)

    the current value of discretionary_amt



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def discretionary_amt
  @discretionary_amt
end

#discretionary_up_to_limit_priceObject

Returns the value of attribute discretionary_up_to_limit_price

Returns:

  • (Object)

    the current value of discretionary_up_to_limit_price



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def discretionary_up_to_limit_price
  @discretionary_up_to_limit_price
end

#display_sizeObject

Returns the value of attribute display_size

Returns:

  • (Object)

    the current value of display_size



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def display_size
  @display_size
end

#dont_use_auto_price_for_hedgeObject

Returns the value of attribute dont_use_auto_price_for_hedge

Returns:

  • (Object)

    the current value of dont_use_auto_price_for_hedge



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def dont_use_auto_price_for_hedge
  @dont_use_auto_price_for_hedge
end

#e_trade_onlyObject

Returns the value of attribute e_trade_only

Returns:

  • (Object)

    the current value of e_trade_only



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def e_trade_only
  @e_trade_only
end

#exempt_codeObject

Returns the value of attribute exempt_code

Returns:

  • (Object)

    the current value of exempt_code



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def exempt_code
  @exempt_code
end

#ext_operatorObject

Returns the value of attribute ext_operator

Returns:

  • (Object)

    the current value of ext_operator



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def ext_operator
  @ext_operator
end

#fa_groupObject

Returns the value of attribute fa_group

Returns:

  • (Object)

    the current value of fa_group



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def fa_group
  @fa_group
end

#fa_methodObject

Returns the value of attribute fa_method

Returns:

  • (Object)

    the current value of fa_method



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def fa_method
  @fa_method
end

#fa_percentageObject

Returns the value of attribute fa_percentage

Returns:

  • (Object)

    the current value of fa_percentage



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def fa_percentage
  @fa_percentage
end

#fa_profileObject

Returns the value of attribute fa_profile

Returns:

  • (Object)

    the current value of fa_profile



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def fa_profile
  @fa_profile
end

#firm_quote_onlyObject

Returns the value of attribute firm_quote_only

Returns:

  • (Object)

    the current value of firm_quote_only



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def firm_quote_only
  @firm_quote_only
end

#good_after_timeObject

Returns the value of attribute good_after_time

Returns:

  • (Object)

    the current value of good_after_time



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def good_after_time
  @good_after_time
end

#good_till_dateObject

Returns the value of attribute good_till_date

Returns:

  • (Object)

    the current value of good_till_date



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def good_till_date
  @good_till_date
end

#hedge_paramObject

Returns the value of attribute hedge_param

Returns:

  • (Object)

    the current value of hedge_param



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def hedge_param
  @hedge_param
end

#hedge_typeObject

Returns the value of attribute hedge_type

Returns:

  • (Object)

    the current value of hedge_type



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def hedge_type
  @hedge_type
end

#hiddenObject

Returns the value of attribute hidden

Returns:

  • (Object)

    the current value of hidden



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def hidden
  @hidden
end

#is_oms_containerObject

Returns the value of attribute is_oms_container

Returns:

  • (Object)

    the current value of is_oms_container



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def is_oms_container
  @is_oms_container
end

#is_pegged_change_amount_decreaseObject

Returns the value of attribute is_pegged_change_amount_decrease

Returns:

  • (Object)

    the current value of is_pegged_change_amount_decrease



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def is_pegged_change_amount_decrease
  @is_pegged_change_amount_decrease
end

#lmt_priceObject

Returns the value of attribute lmt_price

Returns:

  • (Object)

    the current value of lmt_price



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def lmt_price
  @lmt_price
end

#lmt_price_offsetObject

Returns the value of attribute lmt_price_offset

Returns:

  • (Object)

    the current value of lmt_price_offset



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def lmt_price_offset
  @lmt_price_offset
end

#mifid2_decision_algoObject

Returns the value of attribute mifid2_decision_algo

Returns:

  • (Object)

    the current value of mifid2_decision_algo



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def mifid2_decision_algo
  @mifid2_decision_algo
end

#mifid2_decision_makerObject

Returns the value of attribute mifid2_decision_maker

Returns:

  • (Object)

    the current value of mifid2_decision_maker



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def mifid2_decision_maker
  @mifid2_decision_maker
end

#mifid2_execution_algoObject

Returns the value of attribute mifid2_execution_algo

Returns:

  • (Object)

    the current value of mifid2_execution_algo



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def mifid2_execution_algo
  @mifid2_execution_algo
end

#mifid2_execution_traderObject

Returns the value of attribute mifid2_execution_trader

Returns:

  • (Object)

    the current value of mifid2_execution_trader



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def mifid2_execution_trader
  @mifid2_execution_trader
end

#min_qtyObject

Returns the value of attribute min_qty

Returns:

  • (Object)

    the current value of min_qty



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def min_qty
  @min_qty
end

#model_codeObject

Returns the value of attribute model_code

Returns:

  • (Object)

    the current value of model_code



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def model_code
  @model_code
end

#nbbo_price_capObject

Returns the value of attribute nbbo_price_cap

Returns:

  • (Object)

    the current value of nbbo_price_cap



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def nbbo_price_cap
  @nbbo_price_cap
end

#not_heldObject

Returns the value of attribute not_held

Returns:

  • (Object)

    the current value of not_held



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def not_held
  @not_held
end

#oca_groupObject

Returns the value of attribute oca_group

Returns:

  • (Object)

    the current value of oca_group



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def oca_group
  @oca_group
end

#oca_typeObject

Returns the value of attribute oca_type

Returns:

  • (Object)

    the current value of oca_type



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def oca_type
  @oca_type
end

#open_closeObject

Returns the value of attribute open_close

Returns:

  • (Object)

    the current value of open_close



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def open_close
  @open_close
end

#opt_out_smart_routingObject

Returns the value of attribute opt_out_smart_routing

Returns:

  • (Object)

    the current value of opt_out_smart_routing



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def opt_out_smart_routing
  @opt_out_smart_routing
end

#order_combo_legsObject

Returns the value of attribute order_combo_legs

Returns:

  • (Object)

    the current value of order_combo_legs



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def order_combo_legs
  @order_combo_legs
end

#order_idObject

Returns the value of attribute order_id

Returns:

  • (Object)

    the current value of order_id



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def order_id
  @order_id
end

#order_misc_optionsObject

Returns the value of attribute order_misc_options

Returns:

  • (Object)

    the current value of order_misc_options



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def order_misc_options
  @order_misc_options
end

#order_refObject

Returns the value of attribute order_ref

Returns:

  • (Object)

    the current value of order_ref



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def order_ref
  @order_ref
end

#order_typeObject

Returns the value of attribute order_type

Returns:

  • (Object)

    the current value of order_type



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def order_type
  @order_type
end

#originObject

Returns the value of attribute origin

Returns:

  • (Object)

    the current value of origin



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def origin
  @origin
end

#outside_rthObject

Returns the value of attribute outside_rth

Returns:

  • (Object)

    the current value of outside_rth



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def outside_rth
  @outside_rth
end

#override_percentage_constraintsObject

Returns the value of attribute override_percentage_constraints

Returns:

  • (Object)

    the current value of override_percentage_constraints



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def override_percentage_constraints
  @override_percentage_constraints
end

#parent_idObject

Returns the value of attribute parent_id

Returns:

  • (Object)

    the current value of parent_id



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def parent_id
  @parent_id
end

#pegged_change_amountObject

Returns the value of attribute pegged_change_amount

Returns:

  • (Object)

    the current value of pegged_change_amount



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def pegged_change_amount
  @pegged_change_amount
end

#percent_offsetObject

Returns the value of attribute percent_offset

Returns:

  • (Object)

    the current value of percent_offset



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def percent_offset
  @percent_offset
end

#perm_idObject

Returns the value of attribute perm_id

Returns:

  • (Object)

    the current value of perm_id



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def perm_id
  @perm_id
end

#randomize_priceObject

Returns the value of attribute randomize_price

Returns:

  • (Object)

    the current value of randomize_price



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def randomize_price
  @randomize_price
end

#randomize_sizeObject

Returns the value of attribute randomize_size

Returns:

  • (Object)

    the current value of randomize_size



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def randomize_size
  @randomize_size
end

#reference_change_amountObject

Returns the value of attribute reference_change_amount

Returns:

  • (Object)

    the current value of reference_change_amount



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def reference_change_amount
  @reference_change_amount
end

#reference_contract_idObject

Returns the value of attribute reference_contract_id

Returns:

  • (Object)

    the current value of reference_contract_id



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def reference_contract_id
  @reference_contract_id
end

#reference_exchange_idObject

Returns the value of attribute reference_exchange_id

Returns:

  • (Object)

    the current value of reference_exchange_id



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def reference_exchange_id
  @reference_exchange_id
end

#reference_price_typeObject

Returns the value of attribute reference_price_type

Returns:

  • (Object)

    the current value of reference_price_type



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def reference_price_type
  @reference_price_type
end

#rule80_aObject

Returns the value of attribute rule80_a

Returns:

  • (Object)

    the current value of rule80_a



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def rule80_a
  @rule80_a
end

#scale_auto_resetObject

Returns the value of attribute scale_auto_reset

Returns:

  • (Object)

    the current value of scale_auto_reset



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def scale_auto_reset
  @scale_auto_reset
end

#scale_init_fill_qtyObject

Returns the value of attribute scale_init_fill_qty

Returns:

  • (Object)

    the current value of scale_init_fill_qty



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def scale_init_fill_qty
  @scale_init_fill_qty
end

#scale_init_level_sizeObject

Returns the value of attribute scale_init_level_size

Returns:

  • (Object)

    the current value of scale_init_level_size



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def scale_init_level_size
  @scale_init_level_size
end

#scale_init_positionObject

Returns the value of attribute scale_init_position

Returns:

  • (Object)

    the current value of scale_init_position



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def scale_init_position
  @scale_init_position
end

#scale_price_adjust_intervalObject

Returns the value of attribute scale_price_adjust_interval

Returns:

  • (Object)

    the current value of scale_price_adjust_interval



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def scale_price_adjust_interval
  @scale_price_adjust_interval
end

#scale_price_adjust_valueObject

Returns the value of attribute scale_price_adjust_value

Returns:

  • (Object)

    the current value of scale_price_adjust_value



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def scale_price_adjust_value
  @scale_price_adjust_value
end

#scale_price_incrementObject

Returns the value of attribute scale_price_increment

Returns:

  • (Object)

    the current value of scale_price_increment



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def scale_price_increment
  @scale_price_increment
end

#scale_profit_offsetObject

Returns the value of attribute scale_profit_offset

Returns:

  • (Object)

    the current value of scale_profit_offset



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def scale_profit_offset
  @scale_profit_offset
end

#scale_random_percentObject

Returns the value of attribute scale_random_percent

Returns:

  • (Object)

    the current value of scale_random_percent



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def scale_random_percent
  @scale_random_percent
end

#scale_subs_level_sizeObject

Returns the value of attribute scale_subs_level_size

Returns:

  • (Object)

    the current value of scale_subs_level_size



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def scale_subs_level_size
  @scale_subs_level_size
end

#scale_tableObject

Returns the value of attribute scale_table

Returns:

  • (Object)

    the current value of scale_table



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def scale_table
  @scale_table
end

#settling_firmObject

Returns the value of attribute settling_firm

Returns:

  • (Object)

    the current value of settling_firm



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def settling_firm
  @settling_firm
end

#short_sale_slotObject

Returns the value of attribute short_sale_slot

Returns:

  • (Object)

    the current value of short_sale_slot



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def short_sale_slot
  @short_sale_slot
end

#smart_combo_routing_paramsObject

Returns the value of attribute smart_combo_routing_params

Returns:

  • (Object)

    the current value of smart_combo_routing_params



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def smart_combo_routing_params
  @smart_combo_routing_params
end

#soft_dollar_tierObject

Returns the value of attribute soft_dollar_tier

Returns:

  • (Object)

    the current value of soft_dollar_tier



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def soft_dollar_tier
  @soft_dollar_tier
end

#solicitedObject

Returns the value of attribute solicited

Returns:

  • (Object)

    the current value of solicited



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def solicited
  @solicited
end

#starting_priceObject

Returns the value of attribute starting_price

Returns:

  • (Object)

    the current value of starting_price



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def starting_price
  @starting_price
end

#stock_range_lowerObject

Returns the value of attribute stock_range_lower

Returns:

  • (Object)

    the current value of stock_range_lower



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def stock_range_lower
  @stock_range_lower
end

#stock_range_upperObject

Returns the value of attribute stock_range_upper

Returns:

  • (Object)

    the current value of stock_range_upper



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def stock_range_upper
  @stock_range_upper
end

#stock_ref_priceObject

Returns the value of attribute stock_ref_price

Returns:

  • (Object)

    the current value of stock_ref_price



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def stock_ref_price
  @stock_ref_price
end

#sweep_to_fillObject

Returns the value of attribute sweep_to_fill

Returns:

  • (Object)

    the current value of sweep_to_fill



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def sweep_to_fill
  @sweep_to_fill
end

#tifObject

Returns the value of attribute tif

Returns:

  • (Object)

    the current value of tif



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def tif
  @tif
end

#total_quantityObject

Returns the value of attribute total_quantity

Returns:

  • (Object)

    the current value of total_quantity



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def total_quantity
  @total_quantity
end

#trail_stop_priceObject

Returns the value of attribute trail_stop_price

Returns:

  • (Object)

    the current value of trail_stop_price



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def trail_stop_price
  @trail_stop_price
end

#trailing_percentObject

Returns the value of attribute trailing_percent

Returns:

  • (Object)

    the current value of trailing_percent



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def trailing_percent
  @trailing_percent
end

#transmitObject

Returns the value of attribute transmit

Returns:

  • (Object)

    the current value of transmit



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def transmit
  @transmit
end

#trigger_methodObject

Returns the value of attribute trigger_method

Returns:

  • (Object)

    the current value of trigger_method



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def trigger_method
  @trigger_method
end

#trigger_priceObject

Returns the value of attribute trigger_price

Returns:

  • (Object)

    the current value of trigger_price



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def trigger_price
  @trigger_price
end

#volatilityObject

Returns the value of attribute volatility

Returns:

  • (Object)

    the current value of volatility



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def volatility
  @volatility
end

#volatility_typeObject

Returns the value of attribute volatility_type

Returns:

  • (Object)

    the current value of volatility_type



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def volatility_type
  @volatility_type
end

#what_ifObject

Returns the value of attribute what_if

Returns:

  • (Object)

    the current value of what_if



8
9
10
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8

def what_if
  @what_if
end

Instance Method Details

#to_ibObject



133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 133

def to_ib
  ib_object = Java::ComIbClient::Order.new
  ib_object.clientId(client_id).to_java
  ib_object.orderId(order_id).to_java
  ib_object.permId(perm_id).to_java
  ib_object.parentId(parent_id).to_java
  ib_object.action(action).to_java
  ib_object.totalQuantity(total_quantity).to_java
  ib_object.displaySize(display_size).to_java
  ib_object.orderType(order_type).to_java
  ib_object.lmtPrice(lmt_price).to_java
  ib_object.auxPrice(aux_price).to_java
  ib_object.tif(tif).to_java
  ib_object.().to_java
  ib_object.settlingFirm(settling_firm).to_java
  ib_object.clearingAccount().to_java
  ib_object.clearingIntent(clearing_intent).to_java
  ib_object.allOrNone(all_or_none).to_java
  ib_object.blockOrder(block_order).to_java
  ib_object.hidden(hidden).to_java
  ib_object.outsideRth(outside_rth).to_java
  ib_object.sweepToFill(sweep_to_fill).to_java
  ib_object.percentOffset(percent_offset).to_java
  ib_object.trailingPercent(trailing_percent).to_java
  ib_object.trailStopPrice(trail_stop_price).to_java
  ib_object.minQty(min_qty).to_java
  ib_object.goodAfterTime(good_after_time).to_java
  ib_object.goodTillDate(good_till_date).to_java
  ib_object.ocaGroup(oca_group).to_java
  ib_object.orderRef(order_ref).to_java
  ib_object.rule80A(rule80_a).to_java
  ib_object.ocaType(oca_type).to_java
  ib_object.triggerMethod(trigger_method).to_java
  ib_object.activeStartTime(active_start_time).to_java
  ib_object.activeStopTime(active_stop_time).to_java
  ib_object.faGroup(fa_group).to_java
  ib_object.faMethod(fa_method).to_java
  ib_object.faPercentage(fa_percentage).to_java
  ib_object.faProfile(fa_profile).to_java
  ib_object.volatility(volatility).to_java
  ib_object.volatilityType(volatility_type).to_java
  ib_object.continuousUpdate(continuous_update).to_java
  ib_object.referencePriceType(reference_price_type).to_java
  ib_object.deltaNeutralOrderType(delta_neutral_order_type).to_java
  ib_object.deltaNeutralAuxPrice(delta_neutral_aux_price).to_java
  ib_object.deltaNeutralConId(delta_neutral_con_id).to_java
  ib_object.deltaNeutralOpenClose(delta_neutral_open_close).to_java
  ib_object.deltaNeutralShortSale(delta_neutral_short_sale).to_java
  ib_object.deltaNeutralShortSaleSlot(delta_neutral_short_sale_slot).to_java
  ib_object.deltaNeutralDesignatedLocation(delta_neutral_designated_location).to_java
  ib_object.scaleInitLevelSize(scale_init_level_size).to_java
  ib_object.scaleSubsLevelSize(scale_subs_level_size).to_java
  ib_object.scalePriceIncrement(scale_price_increment).to_java
  ib_object.scalePriceAdjustValue(scale_price_adjust_value).to_java
  ib_object.scalePriceAdjustInterval(scale_price_adjust_interval).to_java
  ib_object.scaleProfitOffset(scale_profit_offset).to_java
  ib_object.scaleAutoReset(scale_auto_reset).to_java
  ib_object.scaleInitPosition(scale_init_position).to_java
  ib_object.scaleInitFillQty(scale_init_fill_qty).to_java
  ib_object.scaleRandomPercent(scale_random_percent).to_java
  ib_object.scaleTable(scale_table).to_java
  ib_object.hedgeType(hedge_type).to_java
  ib_object.hedgeParam(hedge_param).to_java
  ib_object.algoStrategy(algo_strategy).to_java
  ib_object.algoParams(algo_params).to_java
  ib_object.algoId(algo_id).to_java
  ib_object.smartComboRoutingParams(smart_combo_routing_params).to_java
  ib_object.orderComboLegs(order_combo_legs).to_java
  ib_object.whatIf(what_if).to_java
  ib_object.transmit(transmit).to_java
  ib_object.overridePercentageConstraints(override_percentage_constraints).to_java
  ib_object.openClose(open_close).to_java
  ib_object.origin(origin).to_java
  ib_object.shortSaleSlot(short_sale_slot).to_java
  ib_object.designatedLocation(designated_location).to_java
  ib_object.exemptCode(exempt_code).to_java
  ib_object.deltaNeutralSettlingFirm(delta_neutral_settling_firm).to_java
  ib_object.deltaNeutralClearingAccount().to_java
  ib_object.deltaNeutralClearingIntent(delta_neutral_clearing_intent).to_java
  ib_object.discretionaryAmt(discretionary_amt).to_java
  ib_object.eTradeOnly(e_trade_only).to_java
  ib_object.firmQuoteOnly(firm_quote_only).to_java
  ib_object.nbboPriceCap(nbbo_price_cap).to_java
  ib_object.optOutSmartRouting(opt_out_smart_routing).to_java
  ib_object.auctionStrategy(auction_strategy).to_java
  ib_object.startingPrice(starting_price).to_java
  ib_object.stockRefPrice(stock_ref_price).to_java
  ib_object.delta(delta).to_java
  ib_object.stockRangeLower(stock_range_lower).to_java
  ib_object.stockRangeUpper(stock_range_upper).to_java
  ib_object.basisPoints(basis_points).to_java
  ib_object.basisPointsType(basis_points_type).to_java
  ib_object.notHeld(not_held).to_java
  ib_object.orderMiscOptions(order_misc_options).to_java
  ib_object.solicited(solicited).to_java
  ib_object.randomizeSize(randomize_size).to_java
  ib_object.randomizePrice(randomize_price).to_java
  ib_object.referenceContractId(reference_contract_id).to_java
  ib_object.peggedChangeAmount(pegged_change_amount).to_java
  ib_object.isPeggedChangeAmountDecrease(is_pegged_change_amount_decrease).to_java
  ib_object.referenceChangeAmount(reference_change_amount).to_java
  ib_object.referenceExchangeId(reference_exchange_id).to_java
  ib_object.adjustedOrderType(adjusted_order_type).to_java
  ib_object.triggerPrice(trigger_price).to_java
  ib_object.adjustedStopPrice(adjusted_stop_price).to_java
  ib_object.adjustedStopLimitPrice(adjusted_stop_limit_price).to_java
  ib_object.adjustedTrailingAmount(adjusted_trailing_amount).to_java
  ib_object.adjustableTrailingUnit(adjustable_trailing_unit).to_java
  ib_object.lmtPriceOffset(lmt_price_offset).to_java
  ib_object.conditions(conditions).to_java
  ib_object.conditionsCancelOrder(conditions_cancel_order).to_java
  ib_object.conditionsIgnoreRth(conditions_ignore_rth).to_java
  ib_object.modelCode(model_code).to_java
  ib_object.extOperator(ext_operator).to_java
  ib_object.softDollarTier(soft_dollar_tier).to_java
  ib_object.cashQty(cash_qty).to_java
  ib_object.mifid2DecisionMaker(mifid2_decision_maker).to_java
  ib_object.mifid2DecisionAlgo(mifid2_decision_algo).to_java
  ib_object.mifid2ExecutionTrader(mifid2_execution_trader).to_java
  ib_object.mifid2ExecutionAlgo(mifid2_execution_algo).to_java
  ib_object.dontUseAutoPriceForHedge(dont_use_auto_price_for_hedge).to_java
  ib_object.isOmsContainer(is_oms_container).to_java
  ib_object.discretionaryUpToLimitPrice(discretionary_up_to_limit_price).to_java

  ib_object
end