pub struct CostParams {
pub commission_per_share: f64,
pub spread_bps: f64,
pub impact_coefficient: f64,
pub avg_daily_volume: f64,
}Expand description
Parameters controlling the execution cost model.
Fields§
Commission per share (USD/share).
spread_bps: f64One-way bid-ask spread in basis points.
impact_coefficient: f64Almgren-Chriss impact coefficient η (dimensionless).
avg_daily_volume: f64Average daily volume for the instrument (shares/day).
Trait Implementations§
Source§impl Clone for CostParams
impl Clone for CostParams
Auto Trait Implementations§
impl Freeze for CostParams
impl RefUnwindSafe for CostParams
impl Send for CostParams
impl Sync for CostParams
impl Unpin for CostParams
impl UnsafeUnpin for CostParams
impl UnwindSafe for CostParams
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