pub struct Factor {
pub name: String,
pub returns: Vec<f64>,
}Expand description
A named return series representing one risk factor (e.g. market, value, momentum).
Fields§
§name: StringHuman-readable name (e.g. "MKT", "SMB", "HML").
returns: Vec<f64>Time-series of factor returns aligned with the asset return series.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Factor
impl RefUnwindSafe for Factor
impl Send for Factor
impl Sync for Factor
impl Unpin for Factor
impl UnsafeUnpin for Factor
impl UnwindSafe for Factor
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