pub struct Summary {
pub trades: usize,
pub win_rate: f64,
pub mean_ret: f64,
pub median_ret: f64,
pub total_ret: f64,
pub sharpe_per_trade: f64,
pub worst: f64,
pub max_drawdown: f64,
pub mean_days: f64,
}Expand description
Summary of a list of trades.
Fields§
§trades: usize§win_rate: f64§mean_ret: f64§median_ret: f64§total_ret: f64§sharpe_per_trade: f64§worst: f64§max_drawdown: f64§mean_days: f64Trait Implementations§
Auto Trait Implementations§
impl Freeze for Summary
impl RefUnwindSafe for Summary
impl Send for Summary
impl Sync for Summary
impl Unpin for Summary
impl UnsafeUnpin for Summary
impl UnwindSafe for Summary
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