Class: IbRubyProxy::Client::Ib::Order
- Inherits:
-
Struct
- Object
- Struct
- IbRubyProxy::Client::Ib::Order
- Defined in:
- lib/ib_ruby_proxy/client/ib/order.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#action ⇒ Object
Returns the value of attribute action.
-
#active_start_time ⇒ Object
Returns the value of attribute active_start_time.
-
#active_stop_time ⇒ Object
Returns the value of attribute active_stop_time.
-
#adjustable_trailing_unit ⇒ Object
Returns the value of attribute adjustable_trailing_unit.
-
#adjusted_order_type ⇒ Object
Returns the value of attribute adjusted_order_type.
-
#adjusted_stop_limit_price ⇒ Object
Returns the value of attribute adjusted_stop_limit_price.
-
#adjusted_stop_price ⇒ Object
Returns the value of attribute adjusted_stop_price.
-
#adjusted_trailing_amount ⇒ Object
Returns the value of attribute adjusted_trailing_amount.
-
#algo_id ⇒ Object
Returns the value of attribute algo_id.
-
#algo_params ⇒ Object
Returns the value of attribute algo_params.
-
#algo_strategy ⇒ Object
Returns the value of attribute algo_strategy.
-
#all_or_none ⇒ Object
Returns the value of attribute all_or_none.
-
#auction_strategy ⇒ Object
Returns the value of attribute auction_strategy.
-
#aux_price ⇒ Object
Returns the value of attribute aux_price.
-
#basis_points ⇒ Object
Returns the value of attribute basis_points.
-
#basis_points_type ⇒ Object
Returns the value of attribute basis_points_type.
-
#block_order ⇒ Object
Returns the value of attribute block_order.
-
#cash_qty ⇒ Object
Returns the value of attribute cash_qty.
-
#clearing_account ⇒ Object
Returns the value of attribute clearing_account.
-
#clearing_intent ⇒ Object
Returns the value of attribute clearing_intent.
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#conditions ⇒ Object
Returns the value of attribute conditions.
-
#conditions_cancel_order ⇒ Object
Returns the value of attribute conditions_cancel_order.
-
#conditions_ignore_rth ⇒ Object
Returns the value of attribute conditions_ignore_rth.
-
#continuous_update ⇒ Object
Returns the value of attribute continuous_update.
-
#delta ⇒ Object
Returns the value of attribute delta.
-
#delta_neutral_aux_price ⇒ Object
Returns the value of attribute delta_neutral_aux_price.
-
#delta_neutral_clearing_account ⇒ Object
Returns the value of attribute delta_neutral_clearing_account.
-
#delta_neutral_clearing_intent ⇒ Object
Returns the value of attribute delta_neutral_clearing_intent.
-
#delta_neutral_con_id ⇒ Object
Returns the value of attribute delta_neutral_con_id.
-
#delta_neutral_designated_location ⇒ Object
Returns the value of attribute delta_neutral_designated_location.
-
#delta_neutral_open_close ⇒ Object
Returns the value of attribute delta_neutral_open_close.
-
#delta_neutral_order_type ⇒ Object
Returns the value of attribute delta_neutral_order_type.
-
#delta_neutral_settling_firm ⇒ Object
Returns the value of attribute delta_neutral_settling_firm.
-
#delta_neutral_short_sale ⇒ Object
Returns the value of attribute delta_neutral_short_sale.
-
#delta_neutral_short_sale_slot ⇒ Object
Returns the value of attribute delta_neutral_short_sale_slot.
-
#designated_location ⇒ Object
Returns the value of attribute designated_location.
-
#discretionary_amt ⇒ Object
Returns the value of attribute discretionary_amt.
-
#discretionary_up_to_limit_price ⇒ Object
Returns the value of attribute discretionary_up_to_limit_price.
-
#display_size ⇒ Object
Returns the value of attribute display_size.
-
#dont_use_auto_price_for_hedge ⇒ Object
Returns the value of attribute dont_use_auto_price_for_hedge.
-
#e_trade_only ⇒ Object
Returns the value of attribute e_trade_only.
-
#exempt_code ⇒ Object
Returns the value of attribute exempt_code.
-
#ext_operator ⇒ Object
Returns the value of attribute ext_operator.
-
#fa_group ⇒ Object
Returns the value of attribute fa_group.
-
#fa_method ⇒ Object
Returns the value of attribute fa_method.
-
#fa_percentage ⇒ Object
Returns the value of attribute fa_percentage.
-
#fa_profile ⇒ Object
Returns the value of attribute fa_profile.
-
#firm_quote_only ⇒ Object
Returns the value of attribute firm_quote_only.
-
#good_after_time ⇒ Object
Returns the value of attribute good_after_time.
-
#good_till_date ⇒ Object
Returns the value of attribute good_till_date.
-
#hedge_param ⇒ Object
Returns the value of attribute hedge_param.
-
#hedge_type ⇒ Object
Returns the value of attribute hedge_type.
-
#hidden ⇒ Object
Returns the value of attribute hidden.
-
#is_oms_container ⇒ Object
Returns the value of attribute is_oms_container.
-
#is_pegged_change_amount_decrease ⇒ Object
Returns the value of attribute is_pegged_change_amount_decrease.
-
#lmt_price ⇒ Object
Returns the value of attribute lmt_price.
-
#lmt_price_offset ⇒ Object
Returns the value of attribute lmt_price_offset.
-
#mifid2_decision_algo ⇒ Object
Returns the value of attribute mifid2_decision_algo.
-
#mifid2_decision_maker ⇒ Object
Returns the value of attribute mifid2_decision_maker.
-
#mifid2_execution_algo ⇒ Object
Returns the value of attribute mifid2_execution_algo.
-
#mifid2_execution_trader ⇒ Object
Returns the value of attribute mifid2_execution_trader.
-
#min_qty ⇒ Object
Returns the value of attribute min_qty.
-
#model_code ⇒ Object
Returns the value of attribute model_code.
-
#nbbo_price_cap ⇒ Object
Returns the value of attribute nbbo_price_cap.
-
#not_held ⇒ Object
Returns the value of attribute not_held.
-
#oca_group ⇒ Object
Returns the value of attribute oca_group.
-
#oca_type ⇒ Object
Returns the value of attribute oca_type.
-
#open_close ⇒ Object
Returns the value of attribute open_close.
-
#opt_out_smart_routing ⇒ Object
Returns the value of attribute opt_out_smart_routing.
-
#order_combo_legs ⇒ Object
Returns the value of attribute order_combo_legs.
-
#order_id ⇒ Object
Returns the value of attribute order_id.
-
#order_misc_options ⇒ Object
Returns the value of attribute order_misc_options.
-
#order_ref ⇒ Object
Returns the value of attribute order_ref.
-
#order_type ⇒ Object
Returns the value of attribute order_type.
-
#origin ⇒ Object
Returns the value of attribute origin.
-
#outside_rth ⇒ Object
Returns the value of attribute outside_rth.
-
#override_percentage_constraints ⇒ Object
Returns the value of attribute override_percentage_constraints.
-
#parent_id ⇒ Object
Returns the value of attribute parent_id.
-
#pegged_change_amount ⇒ Object
Returns the value of attribute pegged_change_amount.
-
#percent_offset ⇒ Object
Returns the value of attribute percent_offset.
-
#perm_id ⇒ Object
Returns the value of attribute perm_id.
-
#randomize_price ⇒ Object
Returns the value of attribute randomize_price.
-
#randomize_size ⇒ Object
Returns the value of attribute randomize_size.
-
#reference_change_amount ⇒ Object
Returns the value of attribute reference_change_amount.
-
#reference_contract_id ⇒ Object
Returns the value of attribute reference_contract_id.
-
#reference_exchange_id ⇒ Object
Returns the value of attribute reference_exchange_id.
-
#reference_price_type ⇒ Object
Returns the value of attribute reference_price_type.
-
#rule80_a ⇒ Object
Returns the value of attribute rule80_a.
-
#scale_auto_reset ⇒ Object
Returns the value of attribute scale_auto_reset.
-
#scale_init_fill_qty ⇒ Object
Returns the value of attribute scale_init_fill_qty.
-
#scale_init_level_size ⇒ Object
Returns the value of attribute scale_init_level_size.
-
#scale_init_position ⇒ Object
Returns the value of attribute scale_init_position.
-
#scale_price_adjust_interval ⇒ Object
Returns the value of attribute scale_price_adjust_interval.
-
#scale_price_adjust_value ⇒ Object
Returns the value of attribute scale_price_adjust_value.
-
#scale_price_increment ⇒ Object
Returns the value of attribute scale_price_increment.
-
#scale_profit_offset ⇒ Object
Returns the value of attribute scale_profit_offset.
-
#scale_random_percent ⇒ Object
Returns the value of attribute scale_random_percent.
-
#scale_subs_level_size ⇒ Object
Returns the value of attribute scale_subs_level_size.
-
#scale_table ⇒ Object
Returns the value of attribute scale_table.
-
#settling_firm ⇒ Object
Returns the value of attribute settling_firm.
-
#short_sale_slot ⇒ Object
Returns the value of attribute short_sale_slot.
-
#smart_combo_routing_params ⇒ Object
Returns the value of attribute smart_combo_routing_params.
-
#soft_dollar_tier ⇒ Object
Returns the value of attribute soft_dollar_tier.
-
#solicited ⇒ Object
Returns the value of attribute solicited.
-
#starting_price ⇒ Object
Returns the value of attribute starting_price.
-
#stock_range_lower ⇒ Object
Returns the value of attribute stock_range_lower.
-
#stock_range_upper ⇒ Object
Returns the value of attribute stock_range_upper.
-
#stock_ref_price ⇒ Object
Returns the value of attribute stock_ref_price.
-
#sweep_to_fill ⇒ Object
Returns the value of attribute sweep_to_fill.
-
#tif ⇒ Object
Returns the value of attribute tif.
-
#total_quantity ⇒ Object
Returns the value of attribute total_quantity.
-
#trail_stop_price ⇒ Object
Returns the value of attribute trail_stop_price.
-
#trailing_percent ⇒ Object
Returns the value of attribute trailing_percent.
-
#transmit ⇒ Object
Returns the value of attribute transmit.
-
#trigger_method ⇒ Object
Returns the value of attribute trigger_method.
-
#trigger_price ⇒ Object
Returns the value of attribute trigger_price.
-
#volatility ⇒ Object
Returns the value of attribute volatility.
-
#volatility_type ⇒ Object
Returns the value of attribute volatility_type.
-
#what_if ⇒ Object
Returns the value of attribute what_if.
Instance Method Summary collapse
-
#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
constructor
A new instance of Order.
- #to_ib ⇒ Object
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.account = account self.settling_firm = settling_firm self.clearing_account = clearing_account 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.delta_neutral_clearing_account = delta_neutral_clearing_account 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. = 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
#account ⇒ Object
Returns the value of attribute account
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def account @account end |
#action ⇒ Object
Returns the value of attribute action
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def action @action end |
#active_start_time ⇒ Object
Returns the value of attribute 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_time ⇒ Object
Returns the value of attribute 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_unit ⇒ Object
Returns the value of attribute 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_type ⇒ Object
Returns the value of attribute 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_price ⇒ Object
Returns the value of attribute 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_price ⇒ Object
Returns the value of attribute 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_amount ⇒ Object
Returns the value of attribute 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_id ⇒ Object
Returns the value of attribute algo_id
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def algo_id @algo_id end |
#algo_params ⇒ Object
Returns the value of attribute algo_params
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def algo_params @algo_params end |
#algo_strategy ⇒ Object
Returns the value of attribute algo_strategy
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def algo_strategy @algo_strategy end |
#all_or_none ⇒ Object
Returns the value of attribute 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_strategy ⇒ Object
Returns the value of attribute auction_strategy
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def auction_strategy @auction_strategy end |
#aux_price ⇒ Object
Returns the value of attribute aux_price
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def aux_price @aux_price end |
#basis_points ⇒ Object
Returns the value of attribute basis_points
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def basis_points @basis_points end |
#basis_points_type ⇒ Object
Returns the value of attribute 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_order ⇒ Object
Returns the value of attribute block_order
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def block_order @block_order end |
#cash_qty ⇒ Object
Returns the value of attribute cash_qty
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def cash_qty @cash_qty end |
#clearing_account ⇒ Object
Returns the value of attribute clearing_account
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def clearing_account @clearing_account end |
#clearing_intent ⇒ Object
Returns the value of attribute clearing_intent
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def clearing_intent @clearing_intent end |
#client_id ⇒ Object
Returns the value of attribute client_id
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def client_id @client_id end |
#conditions ⇒ Object
Returns the value of attribute conditions
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def conditions @conditions end |
#conditions_cancel_order ⇒ Object
Returns the value of attribute 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_rth ⇒ Object
Returns the value of attribute 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_update ⇒ Object
Returns the value of attribute continuous_update
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def continuous_update @continuous_update end |
#delta ⇒ Object
Returns the value of attribute delta
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def delta @delta end |
#delta_neutral_aux_price ⇒ Object
Returns the value of attribute 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_account ⇒ Object
Returns the value of attribute delta_neutral_clearing_account
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def delta_neutral_clearing_account @delta_neutral_clearing_account end |
#delta_neutral_clearing_intent ⇒ Object
Returns the value of attribute 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_id ⇒ Object
Returns the value of attribute 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_location ⇒ Object
Returns the value of attribute 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_close ⇒ Object
Returns the value of attribute 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_type ⇒ Object
Returns the value of attribute 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_firm ⇒ Object
Returns the value of attribute 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_sale ⇒ Object
Returns the value of attribute 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_slot ⇒ Object
Returns the value of attribute 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_location ⇒ Object
Returns the value of attribute designated_location
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def designated_location @designated_location end |
#discretionary_amt ⇒ Object
Returns the value of attribute 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_price ⇒ Object
Returns the value of attribute 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_size ⇒ Object
Returns the value of attribute 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_hedge ⇒ Object
Returns the value of attribute 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_only ⇒ Object
Returns the value of attribute 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_code ⇒ Object
Returns the value of attribute exempt_code
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def exempt_code @exempt_code end |
#ext_operator ⇒ Object
Returns the value of attribute ext_operator
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def ext_operator @ext_operator end |
#fa_group ⇒ Object
Returns the value of attribute fa_group
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def fa_group @fa_group end |
#fa_method ⇒ Object
Returns the value of attribute fa_method
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def fa_method @fa_method end |
#fa_percentage ⇒ Object
Returns the value of attribute fa_percentage
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def fa_percentage @fa_percentage end |
#fa_profile ⇒ Object
Returns the value of attribute fa_profile
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def fa_profile @fa_profile end |
#firm_quote_only ⇒ Object
Returns the value of attribute 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_time ⇒ Object
Returns the value of attribute 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_date ⇒ Object
Returns the value of attribute 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_param ⇒ Object
Returns the value of attribute hedge_param
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def hedge_param @hedge_param end |
#hedge_type ⇒ Object
Returns the value of attribute hedge_type
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def hedge_type @hedge_type end |
#hidden ⇒ Object
Returns the value of attribute hidden
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def hidden @hidden end |
#is_oms_container ⇒ Object
Returns the value of attribute 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_decrease ⇒ Object
Returns the value of attribute 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_price ⇒ Object
Returns the value of attribute lmt_price
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def lmt_price @lmt_price end |
#lmt_price_offset ⇒ Object
Returns the value of attribute 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_algo ⇒ Object
Returns the value of attribute 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_maker ⇒ Object
Returns the value of attribute 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_algo ⇒ Object
Returns the value of attribute 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_trader ⇒ Object
Returns the value of attribute 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_qty ⇒ Object
Returns the value of attribute min_qty
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def min_qty @min_qty end |
#model_code ⇒ Object
Returns the value of attribute model_code
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def model_code @model_code end |
#nbbo_price_cap ⇒ Object
Returns the value of attribute 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_held ⇒ Object
Returns the value of attribute not_held
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def not_held @not_held end |
#oca_group ⇒ Object
Returns the value of attribute oca_group
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def oca_group @oca_group end |
#oca_type ⇒ Object
Returns the value of attribute oca_type
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def oca_type @oca_type end |
#open_close ⇒ Object
Returns the value of attribute 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_routing ⇒ Object
Returns the value of attribute 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_legs ⇒ Object
Returns the value of attribute 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_id ⇒ Object
Returns the value of attribute order_id
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def order_id @order_id end |
#order_misc_options ⇒ Object
Returns the value of attribute order_misc_options
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def @order_misc_options end |
#order_ref ⇒ Object
Returns the value of attribute order_ref
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def order_ref @order_ref end |
#order_type ⇒ Object
Returns the value of attribute order_type
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def order_type @order_type end |
#origin ⇒ Object
Returns the value of attribute origin
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def origin @origin end |
#outside_rth ⇒ Object
Returns the value of attribute outside_rth
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def outside_rth @outside_rth end |
#override_percentage_constraints ⇒ Object
Returns the value of attribute 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_id ⇒ Object
Returns the value of attribute parent_id
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def parent_id @parent_id end |
#pegged_change_amount ⇒ Object
Returns the value of attribute 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_offset ⇒ Object
Returns the value of attribute percent_offset
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def percent_offset @percent_offset end |
#perm_id ⇒ Object
Returns the value of attribute perm_id
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def perm_id @perm_id end |
#randomize_price ⇒ Object
Returns the value of attribute randomize_price
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def randomize_price @randomize_price end |
#randomize_size ⇒ Object
Returns the value of attribute randomize_size
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def randomize_size @randomize_size end |
#reference_change_amount ⇒ Object
Returns the value of attribute 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_id ⇒ Object
Returns the value of attribute 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_id ⇒ Object
Returns the value of attribute 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_type ⇒ Object
Returns the value of attribute 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_a ⇒ Object
Returns the value of attribute rule80_a
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def rule80_a @rule80_a end |
#scale_auto_reset ⇒ Object
Returns the value of attribute 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_qty ⇒ Object
Returns the value of attribute 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_size ⇒ Object
Returns the value of attribute 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_position ⇒ Object
Returns the value of attribute 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_interval ⇒ Object
Returns the value of attribute 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_value ⇒ Object
Returns the value of attribute 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_increment ⇒ Object
Returns the value of attribute 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_offset ⇒ Object
Returns the value of attribute 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_percent ⇒ Object
Returns the value of attribute 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_size ⇒ Object
Returns the value of attribute 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_table ⇒ Object
Returns the value of attribute scale_table
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def scale_table @scale_table end |
#settling_firm ⇒ Object
Returns the value of attribute settling_firm
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def settling_firm @settling_firm end |
#short_sale_slot ⇒ Object
Returns the value of attribute 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_params ⇒ Object
Returns the value of attribute 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_tier ⇒ Object
Returns the value of attribute 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 |
#solicited ⇒ Object
Returns the value of attribute solicited
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def solicited @solicited end |
#starting_price ⇒ Object
Returns the value of attribute starting_price
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def starting_price @starting_price end |
#stock_range_lower ⇒ Object
Returns the value of attribute 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_upper ⇒ Object
Returns the value of attribute 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_price ⇒ Object
Returns the value of attribute 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_fill ⇒ Object
Returns the value of attribute 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 |
#tif ⇒ Object
Returns the value of attribute tif
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def tif @tif end |
#total_quantity ⇒ Object
Returns the value of attribute total_quantity
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def total_quantity @total_quantity end |
#trail_stop_price ⇒ Object
Returns the value of attribute 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_percent ⇒ Object
Returns the value of attribute trailing_percent
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def trailing_percent @trailing_percent end |
#transmit ⇒ Object
Returns the value of attribute transmit
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def transmit @transmit end |
#trigger_method ⇒ Object
Returns the value of attribute trigger_method
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def trigger_method @trigger_method end |
#trigger_price ⇒ Object
Returns the value of attribute trigger_price
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def trigger_price @trigger_price end |
#volatility ⇒ Object
Returns the value of attribute volatility
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def volatility @volatility end |
#volatility_type ⇒ Object
Returns the value of attribute volatility_type
8 9 10 |
# File 'lib/ib_ruby_proxy/client/ib/order.rb', line 8 def volatility_type @volatility_type end |
#what_if ⇒ Object
Returns the value of attribute 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_ib ⇒ Object
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.account(account).to_java ib_object.settlingFirm(settling_firm).to_java ib_object.clearingAccount(clearing_account).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(delta_neutral_clearing_account).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().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 |