oa::ml::environment::TradingExecution
Per-instrument sizing, costs, initial/maintenance margin and IOC policy. Defaults preserve the original continuous, unlevered next-open simulator.
Declaration
pub struct TradingExecution { pub quantity_step: f32, pub fee_per_unit: f32, pub leverage: f32, pub latency_steps: u32, pub max_slippage_bps: f32, pub liquidation_fee: f32, pub margin_tiers: Vec<TradingMarginTier>, }Public Rust declaration.
Public Methods
Associated Functions
Public Data Members
quantity_stepf32fieldfee_per_unitf32fieldleveragef32fieldlatency_stepsu32fieldmax_slippage_bpsf32fieldliquidation_feef32fieldmargin_tiersVec<TradingMarginTier>fieldPublic Method Documentation
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.