pub struct GuaranteedStopLossOrderEntryData {
pub minimum_distance: Option<Decimal>,
pub premium: Option<Decimal>,
pub level_restriction: Option<GuaranteedStopLossOrderLevelRestriction>,
}Expand description
Details required by clients creating a Guaranteed Stop Loss Order
Fields§
§minimum_distance: Option<Decimal>The minimum distance allowed between the Trade’s fill price and the configured price for guaranteed Stop Loss Orders created for this instrument. Specified in price units.
The amount that is charged to the account if a guaranteed Stop Loss Order is triggered and filled. The value is in price units and is charged for each unit of the Trade.
level_restriction: Option<GuaranteedStopLossOrderLevelRestriction>The guaranteed Stop Loss Order level restriction for this instrument.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GuaranteedStopLossOrderEntryData
impl<'de> Deserialize<'de> for GuaranteedStopLossOrderEntryData
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 GuaranteedStopLossOrderEntryData
Auto Trait Implementations§
impl Freeze for GuaranteedStopLossOrderEntryData
impl RefUnwindSafe for GuaranteedStopLossOrderEntryData
impl Send for GuaranteedStopLossOrderEntryData
impl Sync for GuaranteedStopLossOrderEntryData
impl Unpin for GuaranteedStopLossOrderEntryData
impl UnsafeUnpin for GuaranteedStopLossOrderEntryData
impl UnwindSafe for GuaranteedStopLossOrderEntryData
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