Struct ib_client::models::modify_order::ModifyOrder[][src]

pub struct ModifyOrder {
    pub acct_id: Option<String>,
    pub conid: Option<i32>,
    pub order_type: Option<String>,
    pub outside_rth: Option<bool>,
    pub price: Option<f32>,
    pub aux_price: Option<f32>,
    pub side: Option<String>,
    pub listing_exchange: Option<String>,
    pub ticker: Option<String>,
    pub tif: Option<String>,
    pub quantity: Option<f32>,
}

Fields

acct_id: Option<String>conid: Option<i32>order_type: Option<String>

for example LMT

outside_rth: Option<bool>price: Option<f32>aux_price: Option<f32>side: Option<String>

SELL or BUY

listing_exchange: Option<String>

optional, not required

ticker: Option<String>tif: Option<String>

for example DAY

quantity: Option<f32>

usually integer, for some special cases can be float numbers

Implementations

impl ModifyOrder[src]

pub fn new() -> ModifyOrder[src]

Trait Implementations

impl Clone for ModifyOrder[src]

impl Debug for ModifyOrder[src]

impl<'de> Deserialize<'de> for ModifyOrder[src]

impl PartialEq<ModifyOrder> for ModifyOrder[src]

impl Serialize for ModifyOrder[src]

impl StructuralPartialEq for ModifyOrder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.