oa::ml::environment::TradingConfig
Struct published by the oa::ml::environment module.
Declaration
pub struct TradingConfig {Show 15 fields pub environments: u32, pub window: u32, pub horizon: u32, pub seed: u64, pub capital: f32, pub exposure: f32, pub taker_fee: f32, pub slippage_bps: f32, pub spread_bps: f32, pub max_drawdown: f32, pub perpetual: bool, pub liquidate_at_horizon: bool, pub maker_window_steps: u32, pub maker_requotes: u32, pub maker_fee: f32, }Public Rust declaration.
Public Methods
Public Data Members
environmentsu32fieldwindowu32fieldhorizonu32fieldseedu64fieldcapitalf32fieldexposuref32fieldtaker_feef32fieldslippage_bpsf32fieldspread_bpsf32fieldmax_drawdownf32fieldperpetualboolfieldliquidate_at_horizonboolfieldmaker_window_stepsu32fieldmaker_requotesu32fieldmaker_feef32fieldPublic 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.