pub struct SetMmpConfigRequest {
pub index_name: String,
pub interval: u32,
pub frozen_time: u32,
pub quantity_limit: Option<f64>,
pub delta_limit: Option<f64>,
pub vega_limit: Option<f64>,
pub max_quote_quantity: Option<f64>,
pub mmp_group: Option<String>,
pub block_rfq: Option<bool>,
}Expand description
Request to set MMP configuration
Used to configure Market Maker Protection for a specific index.
Fields§
§index_name: StringIndex identifier (e.g., “btc_usd”, “eth_usd”)
interval: u32Monitoring window duration in seconds (0 = remove MMP configuration)
frozen_time: u32Time in seconds that MMP remains active after being triggered (0 = manual reset required)
quantity_limit: Option<f64>Quantity limit for MMP
delta_limit: Option<f64>Delta limit for MMP
vega_limit: Option<f64>Vega limit for MMP
max_quote_quantity: Option<f64>Maximum quote quantity per side per order book (required)
mmp_group: Option<String>MMP group name (for Mass Quotes)
block_rfq: Option<bool>If true, configure MMP for Block RFQ
Trait Implementations§
Source§impl Clone for SetMmpConfigRequest
impl Clone for SetMmpConfigRequest
Source§fn clone(&self) -> SetMmpConfigRequest
fn clone(&self) -> SetMmpConfigRequest
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 SetMmpConfigRequest
impl Debug for SetMmpConfigRequest
Source§impl Default for SetMmpConfigRequest
impl Default for SetMmpConfigRequest
Source§fn default() -> SetMmpConfigRequest
fn default() -> SetMmpConfigRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetMmpConfigRequest
impl<'de> Deserialize<'de> for SetMmpConfigRequest
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 SetMmpConfigRequest
impl Display for SetMmpConfigRequest
Auto Trait Implementations§
impl Freeze for SetMmpConfigRequest
impl RefUnwindSafe for SetMmpConfigRequest
impl Send for SetMmpConfigRequest
impl Sync for SetMmpConfigRequest
impl Unpin for SetMmpConfigRequest
impl UnsafeUnpin for SetMmpConfigRequest
impl UnwindSafe for SetMmpConfigRequest
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.