Skip to content

PortfolioDB 1.7.5

Latest

Choose a tag to compare

@amosgeva amosgeva released this 10 Sep 11:05
f4dd7d9

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.00 and 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 as n/a and 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).