pub struct Order {Show 13 fields
pub id: Uuid,
pub signal_id: Uuid,
pub symbol: String,
pub side: OrderSide,
pub quantity: u32,
pub order_type: OrderType,
pub limit_price: Option<Decimal>,
pub stop_price: Option<Decimal>,
pub status: OrderStatus,
pub timestamps: OrderTimestamps,
pub fills: Vec<Fill>,
pub embedding: Vec<f32>,
pub provenance: Provenance,
}Expand description
Order lifecycle tracking
Fields§
§id: Uuid§signal_id: Uuid§symbol: String§side: OrderSide§quantity: u32§order_type: OrderType§limit_price: Option<Decimal>§stop_price: Option<Decimal>§status: OrderStatus§timestamps: OrderTimestamps§fills: Vec<Fill>§embedding: Vec<f32>§provenance: ProvenanceImplementations§
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
Auto Trait Implementations§
impl Freeze for Order
impl RefUnwindSafe for Order
impl Send for Order
impl Sync for Order
impl Unpin 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