Struct ResetRow
pub struct ResetRow {
pub index: String,
pub date: NaiveDate,
pub forecast: f64,
pub print: f64,
pub move_bp: f64,
pub risk_bp: f64,
pub pnl: f64,
}Expand description
One published print’s contribution to the reset step.
Fields§
§index: StringThe index the print is filed under.
date: NaiveDateThe observation date.
forecast: f64What the print replaced: the index’s own forecast off the starting market’s projection curve for the date — at the curve’s reference date where the print is dated before it, the front of the curve read flat backward — or, for a restated print, the value the starting market held.
print: f64The print the ending market holds.
move_bp: f64print − forecast, in basis points.
risk_bp: f64The book’s sensitivity to the print on the ending market, per basis point — the fixing row of its risk vector.
pnl: f64The exact revaluation from publishing this print, the prints before it in date order already published.
Trait Implementations§
impl StructuralPartialEq for ResetRow
Auto Trait Implementations§
impl Freeze for ResetRow
impl RefUnwindSafe for ResetRow
impl Send for ResetRow
impl Sync for ResetRow
impl Unpin for ResetRow
impl UnsafeUnpin for ResetRow
impl UnwindSafe for ResetRow
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