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§
Source§impl ModifyOrder
impl ModifyOrder
pub fn new() -> ModifyOrder
Trait Implementations§
Source§impl Clone for ModifyOrder
impl Clone for ModifyOrder
Source§fn clone(&self) -> ModifyOrder
fn clone(&self) -> ModifyOrder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ModifyOrder
impl Debug for ModifyOrder
Source§impl<'de> Deserialize<'de> for ModifyOrder
impl<'de> Deserialize<'de> for ModifyOrder
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ModifyOrder
impl PartialEq for ModifyOrder
Source§impl Serialize for ModifyOrder
impl Serialize for ModifyOrder
impl StructuralPartialEq for ModifyOrder
Auto Trait Implementations§
impl Freeze for ModifyOrder
impl RefUnwindSafe for ModifyOrder
impl Send for ModifyOrder
impl Sync for ModifyOrder
impl Unpin for ModifyOrder
impl UnwindSafe for ModifyOrder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more