[−][src]Enum alpaca_finance::OrderEvent
An event that has occured due to an order.
Variants
Sent when the order has been completed for the day - it is either “filled” or “done_for_day” - but remaining settlement calculations are still pending.
Fields of Calculated
order: Order
Sent when your requested cancelation of an order is processed.
Sent when the order is done executing for the day, and will not receive further updates until the next trading day.
Fields of DoneForDay
order: Order
Sent when an order has reached the end of its lifespan, as determined by the order’s time in force value.
Sent when your order has been completely filled.
Sent when an order has been routed to exchanges for execution.
Fields of New
order: Order
Sent when the order cancel has been rejected.
Fields of OrderCancelRejected
order: Order
Sent when the order replace has been rejected.
Fields of OrderReplaceRejected
order: Order
Sent when a number of shares less than the total remaining quantity on your order has been filled.
Sent when the order is awaiting cancelation. Most cancelations will occur without the order entering this state.
Fields of PendingCancel
order: Order
Sent when the order has been received by Alpaca and routed to the exchanges, but has not yet been accepted for execution.
Fields of PendingNew
order: Order
Sent when the order is awaiting replacement.
Fields of PendingReplace
order: Order
Sent when your order has been rejected.
Sent when your requested replacement of an order is processed.
Sent when your order has been stopped, and a trade is guaranteed for the order, usually at a stated price or better, but has not yet occurred.
Fields of Stopped
order: Order
Sent when the order has been suspended and is not eligible for trading.
Fields of Suspended
order: Order
Trait Implementations
impl Debug for OrderEvent
[src]
impl<'de> Deserialize<'de> for OrderEvent
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for OrderEvent
impl Send for OrderEvent
impl Sync for OrderEvent
impl Unpin for OrderEvent
impl UnwindSafe for OrderEvent
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,
fn borrow_mut(&mut self) -> &mut T
[src]
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> Same<T> for T
type Output = T
Should always be Self
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.
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,