pub enum AlgoExecutionStep {
NotDue {
next_scheduled_ts: u64,
},
Submitted {
client_order_id: u64,
status: OrderStatus,
},
WaitingForChildren {
open_orders: usize,
filled_raw: i128,
},
CancellationSubmitted {
client_order_id: u64,
},
Completed {
filled_raw: i128,
unfilled_raw: i128,
},
Cancelled {
filled_raw: i128,
unfilled_raw: i128,
},
Failed {
reason: String,
},
ReconcileRequired {
reason: String,
},
}Variants§
NotDue
Submitted
WaitingForChildren
CancellationSubmitted
Completed
Cancelled
Failed
ReconcileRequired
Trait Implementations§
Source§impl Clone for AlgoExecutionStep
impl Clone for AlgoExecutionStep
Source§impl Debug for AlgoExecutionStep
impl Debug for AlgoExecutionStep
Source§impl<'de> Deserialize<'de> for AlgoExecutionStep
impl<'de> Deserialize<'de> for AlgoExecutionStep
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 Eq for AlgoExecutionStep
Source§impl PartialEq for AlgoExecutionStep
impl PartialEq for AlgoExecutionStep
Source§impl Serialize for AlgoExecutionStep
impl Serialize for AlgoExecutionStep
impl StructuralPartialEq for AlgoExecutionStep
Auto Trait Implementations§
impl Forget for AlgoExecutionStep
impl Freeze for AlgoExecutionStep
impl Move for AlgoExecutionStep
impl RefUnwindSafe for AlgoExecutionStep
impl Send for AlgoExecutionStepwhere
RawVecInner: Send,
impl Sync for AlgoExecutionStepwhere
RawVecInner: Sync,
impl Unpin for AlgoExecutionStep
impl UnsafeUnpin for AlgoExecutionStep
impl UnwindSafe for AlgoExecutionStepwhere
RawVecInner: UnwindSafe,
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