Skip to main content

seed_j5_optimized

Function seed_j5_optimized 

Source
pub fn seed_j5_optimized(
    dir: &Path,
    pp: &Passphrase,
    now: OffsetDateTime,
) -> PathBuf
Expand description

Seed J5’s post-accept state — the FIFO election PLUS the optimizer’s proposed lot pick accepted (the whole sale moved onto the short-term opt-buy-st lot to realize a loss). The walkthrough’s VIEWER renders the resulting Disposals (ST loss) + Tax (§1211 deduction + carryforward). now is the accept made-date — MUST be ≤ the 2025-06-01 sale so the selection is Contemporaneous; the caller passes the same instant the editor frames pin.