pub struct Order {
pub creation_time: Option<String>,
pub filled_quantity: Option<f32>,
pub filled_value: Option<f32>,
pub id: i64,
pub limit_price: Option<f32>,
pub quantity: Option<f32>,
pub status: Option<Status>,
pub stop_price: Option<f32>,
pub strategy: Option<Strategy>,
pub ticker: Option<String>,
pub type: Option<Type>,
pub value: Option<f32>,
}Expand description
Order
Fields§
§creation_time: Option<String>Creation Time
filled_quantity: Option<f32>Applicable to quantity orders
filled_value: Option<f32>Applicable to value orders
id: i64Unique identifier
limit_price: Option<f32>Applicable to LIMIT and STOP_LIMIT orders
quantity: Option<f32>Applicable to quantity orders
status: Option<Status>Order status
stop_price: Option<f32>Applicable to STOP and STOP_LIMIT orders
strategy: Option<Strategy>Stragetgy
ticker: Option<String>Unique instrument identifier. Get from the /instruments endpoint
type: Option<Type>Order type
value: Option<f32>Applicable to value orders
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Order
impl<'de> Deserialize<'de> for Order
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
impl StructuralPartialEq for Order
Auto Trait Implementations§
impl Freeze for Order
impl RefUnwindSafe for Order
impl Send for Order
impl Sync for Order
impl Unpin for Order
impl UnsafeUnpin for Order
impl UnwindSafe for Order
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