Repository navigation
The fifth pass over the audit closes its last open finding: the weekly
report's contribution for a position sold during the week, which had no
closing quote to be valued against and so printed as zero. The figure now
comes from the value-and-flow identity directly, so a closed position needs no
quote and a held one without its quote says so instead of reading as zero.
No schema change and no migration.
Upgrading
- Nothing to do. Weekly contributor lines change only for symbols sold during
the week with no closing quote, and for held symbols missing a quote (now
n/a); totals are unchanged.
Fixed
- A position sold during the week keeps its weekly contribution when it
has no closing quote. The collector stops quoting a symbol once it is
sold, so a position closed during the week normally has no end-of-week
quote; the contribution arithmetic skipped every trade without one, so a
full sale printed$0.00and a buy-and-sell round trip vanished from the
contributor list while the week's total was right. The contribution is now
computed from the identity directly — end value − start value + proceeds −
outlays — where an endpoint with no shares is worth zero and needs no
quote. A held position that lacks its quote is printed asn/aand named
under the missing-price warning, never as$0.00. The price-move and
trade-P&L breakdown is still shown when both quotes exist
(1.7.4 re-audit, N05 remaining branch).