pub struct RiskParamsInput {Show 16 fields
pub maintenance_margin_bps: u64,
pub initial_margin_bps: u64,
pub liquidation_fee_bps: u64,
pub insurance_fee_bps: u64,
pub adl_threshold_bps: u64,
pub max_leverage_q: u64,
pub min_order_size_q: u64,
pub tick_size: u64,
pub max_oi_imbalance_q: u64,
pub haircut_start_bps: u64,
pub haircut_end_bps: u64,
pub haircut_maturity_slots: u64,
pub matured_haircut_bps: u64,
pub max_accounts: u64,
pub min_nonzero_mm_req: u128,
pub min_nonzero_im_req: u128,
}Fields§
§maintenance_margin_bps: u64§initial_margin_bps: u64§liquidation_fee_bps: u64§insurance_fee_bps: u64§adl_threshold_bps: u64§max_leverage_q: u64§min_order_size_q: u64§tick_size: u64§max_oi_imbalance_q: u64§haircut_start_bps: u64§haircut_end_bps: u64§haircut_maturity_slots: u64§matured_haircut_bps: u64§max_accounts: u64§min_nonzero_mm_req: u128§min_nonzero_im_req: u128Trait Implementations§
Auto Trait Implementations§
impl Freeze for RiskParamsInput
impl RefUnwindSafe for RiskParamsInput
impl Send for RiskParamsInput
impl Sync for RiskParamsInput
impl Unpin for RiskParamsInput
impl UnsafeUnpin for RiskParamsInput
impl UnwindSafe for RiskParamsInput
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> 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> 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