pub enum ExchangeInfoFilter {
PriceFilter {
min_price: Decimal,
max_price: Decimal,
tick_size: Decimal,
},
PercentPrice {
multiplier_up: Decimal,
multiplier_down: Decimal,
avg_price_mins: i64,
},
LotSize {
min_qty: Decimal,
max_qty: Decimal,
step_size: Decimal,
},
MinNotional {
min_notional: Decimal,
apply_to_market: bool,
avg_price_mins: i64,
},
IcebergParts {
limit: i64,
},
MarketLotSize {
min_qty: Decimal,
max_qty: Decimal,
step_size: Decimal,
},
MaxNumAlgoOrders {
max_num_algo_orders: i64,
},
MaxNumOrders {
max_num_orders: i64,
},
Other,
}Expand description
The exchange info symbol filter.
Variants§
PriceFilter
The corresponding filter variant.
Fields
PercentPrice
The corresponding filter variant.
Fields
LotSize
The corresponding filter variant.
Fields
MinNotional
The corresponding filter variant.
Fields
IcebergParts
The corresponding filter variant.
MarketLotSize
The corresponding filter variant.
Fields
MaxNumAlgoOrders
The corresponding filter variant.
MaxNumOrders
The corresponding filter variant.
Other
Other variants.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Filter
impl<'de> Deserialize<'de> for Filter
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 StructuralPartialEq for Filter
Auto Trait Implementations§
impl Freeze for Filter
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnwindSafe for Filter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more