pub struct GuaranteedStopLossOrderLevelRestriction {
pub volume: Option<Decimal>,
pub price_range: Option<Decimal>,
}Expand description
A GuaranteedStopLossOrderLevelRestriction represents the total position size that can exist within a given price window for Trades with guaranteed Stop Loss Orders attached for a specific Instrument.
Fields§
§volume: Option<Decimal>Applies to Trades with a guaranteed Stop Loss Order attached for the specified Instrument. This is the total allowed Trade volume that can exist within the priceRange based on the trigger prices of the guaranteed Stop Loss Orders.
price_range: Option<Decimal>The price range the volume applies to. This value is in price units.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GuaranteedStopLossOrderLevelRestriction
impl<'de> Deserialize<'de> for GuaranteedStopLossOrderLevelRestriction
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 GuaranteedStopLossOrderLevelRestriction
Auto Trait Implementations§
impl Freeze for GuaranteedStopLossOrderLevelRestriction
impl RefUnwindSafe for GuaranteedStopLossOrderLevelRestriction
impl Send for GuaranteedStopLossOrderLevelRestriction
impl Sync for GuaranteedStopLossOrderLevelRestriction
impl Unpin for GuaranteedStopLossOrderLevelRestriction
impl UnsafeUnpin for GuaranteedStopLossOrderLevelRestriction
impl UnwindSafe for GuaranteedStopLossOrderLevelRestriction
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