Realm

oa::ml::environment::TradingMarginTier

One piecewise-linear margin tier. Rates are fractions of marked notional.

StRust public API

Declaration

pub struct TradingMarginTier { pub notional_limit: f32, pub initial_margin_rate: f32, pub maintenance_margin_rate: f32, pub maintenance_deduction: f32, }
Public Rust declaration.

Public Methods

fn clone(&self) -> TradingMarginTier
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &TradingMarginTier) -> bool

Public Data Members

notional_limitf32field
initial_margin_ratef32field
maintenance_margin_ratef32field
maintenance_deductionf32field

Public Method Documentation

fn clone( &self ) -> TradingMarginTier
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &TradingMarginTier ) -> bool
No public source comment is attached to this declaration.