[][src]Enum alpaca_finance::OrderStatus

pub enum OrderStatus {
    Accepted,
    AcceptedForBidding,
    Calculated,
    Canceled,
    DoneForDay,
    Expired,
    Filled,
    New,
    PartiallyFilled,
    PendingCancel,
    PendingNew,
    PendingReplace,
    Rejected,
    Replaced,
    Stopped,
    Suspended,
}

The current status of the order in its lifecycle

Variants

Accepted

The order has been received by Alpaca, but hasn’t yet been routed to the execution venue.

AcceptedForBidding

The order has been received by exchanges, and is evaluated for pricing.

Calculated

The order has been completed for the day (either filled or done for day), but remaining settlement calculations are still pending

Canceled

The order has been canceled and no further updates will occur for the order. This can be either due to a cancel request by the user, or the order has been canceled by the exchanges due to its time-in-force.

DoneForDay

The order is done executing for he day, and will not recieve further updates until the next trading day.

Expired

The order has expired, and no further updates will occur for the order.

Filled

The order has been filled, and no further updates will occur for the order.

New

The order has been received by Alpaca and routed to exchanges for execution. This is the usual initial state of an order.

PartiallyFilled

The order has been parially filled.

PendingCancel

The order is waiting to be cancelled.

PendingNew

The order has been received by Alpaca, and routed to the exchanges, but has not yet been accepted for execution.

PendingReplace

The order is waiting to be replaced by another order. The order will reject cancel request while in this state.

Rejected

The order has been rejected, and no further updates will occur for the order.

Replaced

The order was replaced by another order, or was updated due to a market event such as corporate action.

Stopped

The order has been stopped, and a trade is guaranteed for the order, usually at a stated price or better, but has not yet occurred

Suspended

The order has been suspended, and is not eligible for trading.

Trait Implementations

impl Debug for OrderStatus[src]

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

impl Serialize for OrderStatus[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, U> Into<U> for T where
    U: From<T>, 
[src]

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]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,