pub struct MmpGroupConfig {
pub mmp_group: String,
pub quantity_limit: f64,
pub delta_limit: f64,
pub interval: u64,
pub frozen_time: u64,
pub enabled: bool,
}Expand description
MMP (Market Maker Protection) group configuration
Fields§
§mmp_group: StringMMP group name (unique across account)
quantity_limit: f64Quantity limit for this group (max amount per quote)
delta_limit: f64Delta limit (must be < quantity_limit)
interval: u64Interval in milliseconds for MMP triggers
frozen_time: u64Frozen time in milliseconds after MMP trigger
enabled: boolWhether the group is enabled
Implementations§
Trait Implementations§
Source§impl Clone for MmpGroupConfig
impl Clone for MmpGroupConfig
Source§fn clone(&self) -> MmpGroupConfig
fn clone(&self) -> MmpGroupConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MmpGroupConfig
impl Debug for MmpGroupConfig
Source§impl<'de> Deserialize<'de> for MmpGroupConfig
impl<'de> Deserialize<'de> for MmpGroupConfig
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
Source§impl Display for MmpGroupConfig
impl Display for MmpGroupConfig
Auto Trait Implementations§
impl Freeze for MmpGroupConfig
impl RefUnwindSafe for MmpGroupConfig
impl Send for MmpGroupConfig
impl Sync for MmpGroupConfig
impl Unpin for MmpGroupConfig
impl UnwindSafe for MmpGroupConfig
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