pub struct ExecutionCostBreakdown {
pub commission_usd: f64,
pub spread_cost_usd: f64,
pub market_impact_usd: f64,
pub total_usd: f64,
pub total_bps: f64,
}Expand description
Breakdown of total execution cost across its components.
Fields§
§commission_usd: f64Commission in USD.
spread_cost_usd: f64Bid-ask spread cost in USD.
market_impact_usd: f64Market impact cost in USD (square-root model).
total_usd: f64Total cost in USD.
total_bps: f64Total cost in basis points of notional.
Trait Implementations§
Source§impl Clone for ExecutionCostBreakdown
impl Clone for ExecutionCostBreakdown
Source§impl Debug for ExecutionCostBreakdown
impl Debug for ExecutionCostBreakdown
Source§impl PartialEq for ExecutionCostBreakdown
impl PartialEq for ExecutionCostBreakdown
impl StructuralPartialEq for ExecutionCostBreakdown
Auto Trait Implementations§
impl Freeze for ExecutionCostBreakdown
impl RefUnwindSafe for ExecutionCostBreakdown
impl Send for ExecutionCostBreakdown
impl Sync for ExecutionCostBreakdown
impl Unpin for ExecutionCostBreakdown
impl UnsafeUnpin for ExecutionCostBreakdown
impl UnwindSafe for ExecutionCostBreakdown
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