pub struct Run {
pub name: String,
pub dates: Vec<NaiveDate>,
pub equity: Vec<f64>,
pub exposure: Vec<f64>,
pub closed: Vec<Closed>,
pub events: Vec<Event>,
pub unaffordable: usize,
}Expand description
The result of trading one strategy over one period.
Fields§
§name: String§dates: Vec<NaiveDate>§equity: Vec<f64>§exposure: Vec<f64>§closed: Vec<Closed>§events: Vec<Event>§unaffordable: usizeOption trades skipped because one contract’s max loss was more than the per-trade budget (account too small for that underlying).
Auto Trait Implementations§
impl Freeze for Run
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnsafeUnpin for Run
impl UnwindSafe for Run
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