Struct ib_tws_core::domain::order::Order
source · pub struct Order {Show 119 fields
pub client_id: i32,
pub order_id: i32,
pub perm_id: i32,
pub parent_id: i32,
pub action: String,
pub total_quantity: f64,
pub display_size: i32,
pub order_type: String,
pub lmt_price: f64,
pub aux_price: f64,
pub tif: String,
pub account: String,
pub settling_firm: String,
pub clearing_account: String,
pub clearing_intent: String,
pub all_or_none: bool,
pub block_order: bool,
pub hidden: bool,
pub outside_rth: bool,
pub sweep_to_fill: bool,
pub percent_offset: f64,
pub trailing_percent: f64,
pub trail_stop_price: f64,
pub min_qty: i32,
pub good_after_time: String,
pub good_till_date: String,
pub oca_group: String,
pub order_ref: String,
pub rule_80a: String,
pub oca_type: i32,
pub trigger_method: i32,
pub active_start_time: String,
pub active_stop_time: String,
pub fa_group: String,
pub fa_method: String,
pub fa_percentage: String,
pub fa_profile: String,
pub volatility: f64,
pub volatility_type: i32,
pub continuous_update: i32,
pub reference_price_type: i32,
pub delta_neutral_order_type: String,
pub delta_neutral_aux_price: f64,
pub delta_neutral_con_id: i32,
pub delta_neutral_open_close: String,
pub delta_neutral_short_sale: bool,
pub delta_neutral_short_sale_slot: i32,
pub delta_neutral_designated_location: String,
pub scale_init_level_size: i32,
pub scale_subs_level_size: i32,
pub scale_price_increment: f64,
pub scale_price_adjust_value: f64,
pub scale_price_adjust_interval: i32,
pub scale_profit_offset: f64,
pub scale_auto_reset: bool,
pub scale_init_position: i32,
pub scale_init_fill_qty: i32,
pub scale_random_percent: bool,
pub scale_table: String,
pub hedge_type: String,
pub hedge_param: String,
pub algo_strategy: String,
pub algo_params: Vec<TagValue>,
pub algo_id: String,
pub smart_combo_routing_params: Vec<TagValue>,
pub order_combo_legs: Vec<OrderComboLeg>,
pub what_if: bool,
pub transmit: bool,
pub override_percentage_constraints: bool,
pub open_close: String,
pub origin: i32,
pub short_sale_slot: i32,
pub designated_location: String,
pub exempt_code: i32,
pub delta_neutral_settling_firm: String,
pub delta_neutral_clearing_account: String,
pub delta_neutral_clearing_intent: String,
pub discretionary_amt: f64,
pub etrade_only: bool,
pub firm_quote_only: bool,
pub nbbo_price_cap: f64,
pub opt_out_smart_routing: bool,
pub auction_strategy: i32,
pub starting_price: f64,
pub stock_ref_price: f64,
pub delta: f64,
pub stock_range_lower: f64,
pub stock_range_upper: f64,
pub basis_points: f64,
pub basis_points_type: i32,
pub not_held: bool,
pub order_misc_options: Vec<TagValue>,
pub solicited: bool,
pub randomize_size: bool,
pub randomize_price: bool,
pub reference_contract_id: i32,
pub pegged_change_amount: f64,
pub is_pegged_change_amount_decrease: bool,
pub reference_change_amount: f64,
pub reference_exchange_id: String,
pub adjusted_order_type: String,
pub trigger_price: f64,
pub adjusted_stop_price: f64,
pub adjusted_stop_limit_price: f64,
pub adjusted_trailing_amount: f64,
pub adjustable_trailing_unit: i32,
pub lmt_price_offset: f64,
pub conditions: Vec<OrderCondition>,
pub conditions_cancel_order: bool,
pub conditions_ignore_rth: bool,
pub model_code: String,
pub ext_operator: String,
pub soft_dollar_tier: SoftDollarTier,
pub cash_qty: f64,
pub mifid2_decision_maker: String,
pub mified2_decision_algo: String,
pub mified2_execution_trader: String,
pub mified2_execution_algo: String,
pub dont_use_auto_price_for_hedge: bool,
}
Fields
client_id: i32
order_id: i32
perm_id: i32
parent_id: i32
action: String
total_quantity: f64
display_size: i32
order_type: String
lmt_price: f64
aux_price: f64
tif: String
account: String
settling_firm: String
clearing_account: String
clearing_intent: String
all_or_none: bool
block_order: bool
outside_rth: bool
sweep_to_fill: bool
percent_offset: f64
trailing_percent: f64
trail_stop_price: f64
min_qty: i32
good_after_time: String
good_till_date: String
oca_group: String
order_ref: String
rule_80a: String
oca_type: i32
trigger_method: i32
active_start_time: String
active_stop_time: String
fa_group: String
fa_method: String
fa_percentage: String
fa_profile: String
volatility: f64
volatility_type: i32
continuous_update: i32
reference_price_type: i32
delta_neutral_order_type: String
delta_neutral_aux_price: f64
delta_neutral_con_id: i32
delta_neutral_open_close: String
delta_neutral_short_sale: bool
delta_neutral_short_sale_slot: i32
delta_neutral_designated_location: String
scale_init_level_size: i32
scale_subs_level_size: i32
scale_price_increment: f64
scale_price_adjust_value: f64
scale_price_adjust_interval: i32
scale_profit_offset: f64
scale_auto_reset: bool
scale_init_position: i32
scale_init_fill_qty: i32
scale_random_percent: bool
scale_table: String
hedge_type: String
hedge_param: String
algo_strategy: String
algo_params: Vec<TagValue>
algo_id: String
smart_combo_routing_params: Vec<TagValue>
order_combo_legs: Vec<OrderComboLeg>
what_if: bool
transmit: bool
override_percentage_constraints: bool
open_close: String
origin: i32
short_sale_slot: i32
designated_location: String
exempt_code: i32
delta_neutral_settling_firm: String
delta_neutral_clearing_account: String
delta_neutral_clearing_intent: String
discretionary_amt: f64
etrade_only: bool
firm_quote_only: bool
nbbo_price_cap: f64
opt_out_smart_routing: bool
auction_strategy: i32
starting_price: f64
stock_ref_price: f64
delta: f64
stock_range_lower: f64
stock_range_upper: f64
basis_points: f64
basis_points_type: i32
not_held: bool
order_misc_options: Vec<TagValue>
solicited: bool
randomize_size: bool
randomize_price: bool
reference_contract_id: i32
pegged_change_amount: f64
is_pegged_change_amount_decrease: bool
reference_change_amount: f64
reference_exchange_id: String
adjusted_order_type: String
trigger_price: f64
adjusted_stop_price: f64
adjusted_stop_limit_price: f64
adjusted_trailing_amount: f64
adjustable_trailing_unit: i32
lmt_price_offset: f64
conditions: Vec<OrderCondition>
conditions_cancel_order: bool
conditions_ignore_rth: bool
model_code: String
ext_operator: String
soft_dollar_tier: SoftDollarTier
cash_qty: f64
mifid2_decision_maker: String
mified2_decision_algo: String
mified2_execution_trader: String
mified2_execution_algo: String
dont_use_auto_price_for_hedge: bool
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Order
impl Send for Order
impl Sync for Order
impl Unpin for Order
impl UnwindSafe for Order
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more