Enum lfest::OrderError [−][src]
pub enum OrderError { MaxActiveOrders, InvalidLimitPrice, InvalidTriggerPrice, InvalidOrderSize, NotEnoughAvailableBalance, }
Expand description
Defines the possible order errors that can occur when submitting a new order
Variants
Maximum number of active orders reached
Invalid limit price of order
Invalid trigger price for order. e.g.: sell stop market order trigger price > ask
Invalid order size
The account does not have enough available balance to submit the order
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OrderError
impl Send for OrderError
impl Sync for OrderError
impl Unpin for OrderError
impl UnwindSafe for OrderError