jch.app portfolio historical value calculation
Portfolio app (jch.app) with work in progress on a correct and performant way to calculate the historical value of a portfolio. The calculation is being designed as a pure function that accounts for users editing holdings and securities splits, and the author is weighing a server-side vs client-side implementation, shifting from the current background jobs that fetch state toward a more functional, on-demand architecture.
What it addresses
Calculating historical portfolio value as a pure function where taking a date as input is insufficient because users can edit holdings and securities can split.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
jch.app portfolio historical value calculation
Portfolio app (jch.app) with work in progress on a correct and performant way to calculate the historical value of a portfolio. The calculation is being designed as a pure function that accounts for users editing holdings and securities splits, and the author is weighing a server-side vs client-side implementation, shifting from the current background jobs that fetch state toward a more functional, on-demand architecture.
Problem: Calculating historical portfolio value as a pure function where taking a date as input is insufficient because users can edit holdings and securities can split.
Posted by @jollyjerry · Original source ↗
Source text · @jollyjerry · · Source ↗
Correct and performant way to calculate historical value of a portfolio. I want a pure function, but taking a date as input is insufficient because users can edit holdings, and securities can split.
Financial independence tracker
A financial independence tracking web app. Currently redesigning the investment holdings views for wider screens using Hotwire Turbo Frames, where lazy loading combined with CSS media queries displays more content on larger viewports. Styled with Tailwind CSS, prototyping designs with Tailwind and then slimming them back down with plain CSS.
Posted by @jollyjerry · Original source ↗
Source text · @jollyjerry · · Source ↗
Financial independence tracker. https://jch.app