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: i32order_id: i32perm_id: i32parent_id: i32action: Stringtotal_quantity: f64display_size: i32order_type: Stringlmt_price: f64aux_price: f64tif: Stringaccount: Stringsettling_firm: Stringclearing_account: Stringclearing_intent: Stringall_or_none: boolblock_order: boolhidden: booloutside_rth: boolsweep_to_fill: boolpercent_offset: f64trailing_percent: f64trail_stop_price: f64min_qty: i32good_after_time: Stringgood_till_date: Stringoca_group: Stringorder_ref: Stringrule_80a: Stringoca_type: i32trigger_method: i32active_start_time: Stringactive_stop_time: Stringfa_group: Stringfa_method: Stringfa_percentage: Stringfa_profile: Stringvolatility: f64volatility_type: i32continuous_update: i32reference_price_type: i32delta_neutral_order_type: Stringdelta_neutral_aux_price: f64delta_neutral_con_id: i32delta_neutral_open_close: Stringdelta_neutral_short_sale: booldelta_neutral_short_sale_slot: i32delta_neutral_designated_location: Stringscale_init_level_size: i32scale_subs_level_size: i32scale_price_increment: f64scale_price_adjust_value: f64scale_price_adjust_interval: i32scale_profit_offset: f64scale_auto_reset: boolscale_init_position: i32scale_init_fill_qty: i32scale_random_percent: boolscale_table: Stringhedge_type: Stringhedge_param: Stringalgo_strategy: Stringalgo_params: Vec<TagValue>algo_id: Stringsmart_combo_routing_params: Vec<TagValue>order_combo_legs: Vec<OrderComboLeg>what_if: booltransmit: booloverride_percentage_constraints: boolopen_close: Stringorigin: i32short_sale_slot: i32designated_location: Stringexempt_code: i32delta_neutral_settling_firm: Stringdelta_neutral_clearing_account: Stringdelta_neutral_clearing_intent: Stringdiscretionary_amt: f64etrade_only: boolfirm_quote_only: boolnbbo_price_cap: f64opt_out_smart_routing: boolauction_strategy: i32starting_price: f64stock_ref_price: f64delta: f64stock_range_lower: f64stock_range_upper: f64basis_points: f64basis_points_type: i32not_held: boolorder_misc_options: Vec<TagValue>solicited: boolrandomize_size: boolrandomize_price: boolreference_contract_id: i32pegged_change_amount: f64is_pegged_change_amount_decrease: boolreference_change_amount: f64reference_exchange_id: Stringadjusted_order_type: Stringtrigger_price: f64adjusted_stop_price: f64adjusted_stop_limit_price: f64adjusted_trailing_amount: f64adjustable_trailing_unit: i32lmt_price_offset: f64conditions: Vec<OrderCondition>conditions_cancel_order: boolconditions_ignore_rth: boolmodel_code: Stringext_operator: Stringsoft_dollar_tier: SoftDollarTiercash_qty: f64mifid2_decision_maker: Stringmified2_decision_algo: Stringmified2_execution_trader: Stringmified2_execution_algo: Stringdont_use_auto_price_for_hedge: bool

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more