Struct ResetStep
struct ResetStep {
market: MarketContext,
diff: MarketDiff,
npv_before: f64,
value: f64,
}Expand description
The reset step. A market that lacks a print the book has accrued refuses
to value, so the step does not start from before as given: it starts
from before with each new print standing at the forecast it replaced —
the value the book carried while the print was projected, and before’s
own value to round-off where it prices without the print — and ends at
before with every print published. diff is the move from there to
after, whose layouts now agree. None when after publishes nothing
new.
Fields§
§market: MarketContext§diff: MarketDiff§npv_before: f64The book’s value at the seeded start.
value: f64The book’s value with every print published.
Auto Trait Implementations§
impl !Freeze for ResetStep
impl !RefUnwindSafe for ResetStep
impl !UnwindSafe for ResetStep
impl Send for ResetStep
impl Sync for ResetStep
impl Unpin for ResetStep
impl UnsafeUnpin for ResetStep
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