Development changelog

What has changed on this site, in its database and in the scripts behind it, newest first. Older history is being filled in as it is reconstructed, and each entry says whether it was recorded at the time or rebuilt later.

Showing entries for file capital_river.php. Show everything

Stock splits are bridged from researched event records

Oct 23, 2026
changed Oct 23, 2026

The Capital River and Price Audit pages each have a link beside the version number that opens the same view on the other edition, keeping the selected assets, dates and settings, so the two can be compared by flipping back and forth.

The original pages gained only the link; none of their calculations changed. Nothing was added to the side navigation.

Capital River shows capital at work, not every dollar ever invested

Oct 16, 2026
fixed Oct 16, 2026

The Capital River page now shows its correct version number. The previous release updated the page's behaviour but still labelled itself with the version before it.

fixed Oct 16, 2026

The held cost basis behind the Unrealized Gain card no longer averages in shares that were sold before the current position was bought. It is exact unless a partial sale has happened since the position was last fully closed.

The basis was an average across every purchase in a security's history, so a sold-out earlier position inflated the basis of the one held today and understated the unrealized gain. The basis now resets whenever a position is fully sold, and is marked as an average-cost estimate only after a partial sale.

fixed Oct 16, 2026

The Capital River's capital line and Capital Invested card now show the capital still at work on each date. Selling a whole position takes it back to zero; selling part of one reduces it in proportion to the shares sold.

Previously the line was a running total of every purchase and never fell, so a position that was closed and later reopened counted both purchases for the years in between. Only a sale moves the figure now. Transfers, splits and conversions into another security change the share count but not the capital, so they leave it alone. When sales have returned capital, the card also states how much was put in and how much came back. Combined return still measures against all capital ever put in, and the card now names that base.