[−][src]Struct twsapi::core::order::Order
Fields
soft_dollar_tier: SoftDollarTier
order_id: i32
client_id: i32
perm_id: i32
action: String
total_quantity: f64
order_type: String
lmt_price: f64
aux_price: f64
tif: String
active_start_time: String
active_stop_time: String
oca_group: String
oca_type: i32
order_ref: String
transmit: bool
parent_id: i32
block_order: bool
sweep_to_fill: bool
display_size: i32
trigger_method: i32
outside_rth: bool
good_after_time: String
good_till_date: String
rule80a: String
all_or_none: bool
min_qty: i32
percent_offset: f64
override_percentage_constraints: bool
trail_stop_price: f64
trailing_percent: f64
fa_group: String
fa_profile: String
fa_method: String
fa_percentage: String
designated_location: String
open_close: String
origin: Origin
short_sale_slot: i32
exempt_code: i32
discretionary_amt: f64
e_trade_only: bool
firm_quote_only: bool
nbbo_price_cap: f64
opt_out_smart_routing: bool
auction_strategy: AuctionStrategy
starting_price: f64
stock_ref_price: f64
delta: f64
stock_range_lower: f64
stock_range_upper: f64
randomize_price: bool
randomize_size: bool
volatility: f64
volatility_type: i32
delta_neutral_order_type: String
delta_neutral_aux_price: f64
delta_neutral_con_id: i32
delta_neutral_settling_firm: String
delta_neutral_clearing_account: String
delta_neutral_clearing_intent: String
delta_neutral_open_close: String
delta_neutral_short_sale: bool
delta_neutral_short_sale_slot: i32
delta_neutral_designated_location: String
continuous_update: bool
reference_price_type: i32
basis_points: f64
basis_points_type: i32
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
account: String
settling_firm: String
clearing_account: String
clearing_intent: String
algo_strategy: String
algo_params: Vec<TagValue>
smart_combo_routing_params: Vec<TagValue>
algo_id: String
what_if: bool
not_held: bool
solicited: bool
model_code: String
order_combo_legs: Vec<OrderComboLeg>
order_misc_options: Vec<TagValue>
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<OrderConditionEnum>
conditions_cancel_order: bool
conditions_ignore_rth: bool
ext_operator: String
cash_qty: f64
mifid2decision_maker: String
mifid2decision_algo: String
mifid2execution_trader: String
mifid2execution_algo: String
dont_use_auto_price_for_hedge: bool
is_oms_container: bool
discretionary_up_to_limit_price: bool
auto_cancel_date: String
filled_quantity: f64
ref_futures_con_id: i32
auto_cancel_parent: bool
imbalance_only: bool
route_marketable_to_bbo: bool
parent_perm_id: i32
use_price_mgmt_algo: bool
Implementations
impl Order
[src]
pub fn new(
soft_dollar_tier: SoftDollarTier,
order_id: i32,
client_id: i32,
perm_id: i32,
action: String,
total_quantity: f64,
order_type: String,
lmt_price: f64,
aux_price: f64,
tif: String,
active_start_time: String,
active_stop_time: String,
oca_group: String,
oca_type: i32,
order_ref: String,
transmit: bool,
parent_id: i32,
block_order: bool,
sweep_to_fill: bool,
display_size: i32,
trigger_method: i32,
outside_rth: bool,
hidden: bool,
good_after_time: String,
good_till_date: String,
rule80a: String,
all_or_none: bool,
min_qty: i32,
percent_offset: f64,
override_percentage_constraints: bool,
trail_stop_price: f64,
trailing_percent: f64,
fa_group: String,
fa_profile: String,
fa_method: String,
fa_percentage: String,
designated_location: String,
open_close: String,
origin: Origin,
short_sale_slot: i32,
exempt_code: i32,
discretionary_amt: f64,
e_trade_only: bool,
firm_quote_only: bool,
nbbo_price_cap: f64,
opt_out_smart_routing: bool,
auction_strategy: AuctionStrategy,
starting_price: f64,
stock_ref_price: f64,
delta: f64,
stock_range_lower: f64,
stock_range_upper: f64,
randomize_price: bool,
randomize_size: bool,
volatility: f64,
volatility_type: i32,
delta_neutral_order_type: String,
delta_neutral_aux_price: f64,
delta_neutral_con_id: i32,
delta_neutral_settling_firm: String,
delta_neutral_clearing_account: String,
delta_neutral_clearing_intent: String,
delta_neutral_open_close: String,
delta_neutral_short_sale: bool,
delta_neutral_short_sale_slot: i32,
delta_neutral_designated_location: String,
continuous_update: bool,
reference_price_type: i32,
basis_points: f64,
basis_points_type: i32,
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,
account: String,
settling_firm: String,
clearing_account: String,
clearing_intent: String,
algo_strategy: String,
algo_params: Vec<TagValue>,
smart_combo_routing_params: Vec<TagValue>,
algo_id: String,
what_if: bool,
not_held: bool,
solicited: bool,
model_code: String,
order_combo_legs: Vec<OrderComboLeg>,
order_misc_options: Vec<TagValue>,
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<OrderConditionEnum>,
conditions_cancel_order: bool,
conditions_ignore_rth: bool,
ext_operator: String,
cash_qty: f64,
mifid2decision_maker: String,
mifid2decision_algo: String,
mifid2execution_trader: String,
mifid2execution_algo: String,
dont_use_auto_price_for_hedge: bool,
is_oms_container: bool,
discretionary_up_to_limit_price: bool,
auto_cancel_date: String,
filled_quantity: f64,
ref_futures_con_id: i32,
auto_cancel_parent: bool,
shareholder: String,
imbalance_only: bool,
route_marketable_to_bbo: bool,
parent_perm_id: i32,
use_price_mgmt_algo: bool
) -> Self
[src]
soft_dollar_tier: SoftDollarTier,
order_id: i32,
client_id: i32,
perm_id: i32,
action: String,
total_quantity: f64,
order_type: String,
lmt_price: f64,
aux_price: f64,
tif: String,
active_start_time: String,
active_stop_time: String,
oca_group: String,
oca_type: i32,
order_ref: String,
transmit: bool,
parent_id: i32,
block_order: bool,
sweep_to_fill: bool,
display_size: i32,
trigger_method: i32,
outside_rth: bool,
hidden: bool,
good_after_time: String,
good_till_date: String,
rule80a: String,
all_or_none: bool,
min_qty: i32,
percent_offset: f64,
override_percentage_constraints: bool,
trail_stop_price: f64,
trailing_percent: f64,
fa_group: String,
fa_profile: String,
fa_method: String,
fa_percentage: String,
designated_location: String,
open_close: String,
origin: Origin,
short_sale_slot: i32,
exempt_code: i32,
discretionary_amt: f64,
e_trade_only: bool,
firm_quote_only: bool,
nbbo_price_cap: f64,
opt_out_smart_routing: bool,
auction_strategy: AuctionStrategy,
starting_price: f64,
stock_ref_price: f64,
delta: f64,
stock_range_lower: f64,
stock_range_upper: f64,
randomize_price: bool,
randomize_size: bool,
volatility: f64,
volatility_type: i32,
delta_neutral_order_type: String,
delta_neutral_aux_price: f64,
delta_neutral_con_id: i32,
delta_neutral_settling_firm: String,
delta_neutral_clearing_account: String,
delta_neutral_clearing_intent: String,
delta_neutral_open_close: String,
delta_neutral_short_sale: bool,
delta_neutral_short_sale_slot: i32,
delta_neutral_designated_location: String,
continuous_update: bool,
reference_price_type: i32,
basis_points: f64,
basis_points_type: i32,
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,
account: String,
settling_firm: String,
clearing_account: String,
clearing_intent: String,
algo_strategy: String,
algo_params: Vec<TagValue>,
smart_combo_routing_params: Vec<TagValue>,
algo_id: String,
what_if: bool,
not_held: bool,
solicited: bool,
model_code: String,
order_combo_legs: Vec<OrderComboLeg>,
order_misc_options: Vec<TagValue>,
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<OrderConditionEnum>,
conditions_cancel_order: bool,
conditions_ignore_rth: bool,
ext_operator: String,
cash_qty: f64,
mifid2decision_maker: String,
mifid2decision_algo: String,
mifid2execution_trader: String,
mifid2execution_algo: String,
dont_use_auto_price_for_hedge: bool,
is_oms_container: bool,
discretionary_up_to_limit_price: bool,
auto_cancel_date: String,
filled_quantity: f64,
ref_futures_con_id: i32,
auto_cancel_parent: bool,
shareholder: String,
imbalance_only: bool,
route_marketable_to_bbo: bool,
parent_perm_id: i32,
use_price_mgmt_algo: bool
) -> Self
Trait Implementations
impl Clone for Order
[src]
impl Debug for Order
[src]
impl Default for Order
[src]
impl<'de> Deserialize<'de> for Order
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for Order
[src]
impl Serialize for Order
[src]
Auto Trait Implementations
impl RefUnwindSafe for Order
[src]
impl Send for Order
[src]
impl Sync for Order
[src]
impl Unpin for Order
[src]
impl UnwindSafe for Order
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
pub fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
T: Sync,
pub fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
impl<T> DebugAny for T where
T: Any + Debug,
T: Any + Debug,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> UnsafeAny for T where
T: Any,
T: Any,