Stock Calculator

Changelog

One entry per release, newest first. Feed at rss.xml.

2.3.0 — Share buttons, undo, and precision for every number

  • Share to anywhere. A new Share button opens a row of share targets — X, WhatsApp, Telegram, email, your device’s own share sheet where available, and copy-link — powered by our ShareKit component. It loads only when you click, so pages stay as fast as ever.
  • Undo. Removing a trade or resetting a calculator now offers a one-click Undo in the confirmation bubble.
  • Feedback where you’re looking. The “Copied…” bubble now appears next to the number you clicked instead of at the bottom of the screen.
  • Decimal places for every kind of number. Settings now has three independent controls: percentages, money amounts, and share counts, each 0–8 places or auto (auto keeps each category’s natural convention — cents for dollars, no decimals for yen, exact-or-4 for shares). The Settings chip shows any override.
  • Fixed: the Settings button now shows a pointer cursor on hover.
  • For translators: docs/translation-prompt.md is a complete brief for producing a new language pack.

2.2.0 — Clean share links, the classic icon, and a worked-examples library

  • Share links look like links now. Copy link produces a compact address like /s/MC4uLi42NS5-MTAwQDUwfjEwMEA2MA instead of a query string full of dots and tildes — one token, on the page that owns the calculation. Every older link format (including the original site’s ?data= URLs) keeps working and quietly upgrades itself to the new form on open.
  • Worked examples got its own page — famous market episodes loaded into the calculator with primary sources linked: Berkshire’s Apple stake (SEC 13F filings), the January 2021 GameStop squeeze (the SEC’s own staff report), Enron’s collapse, a 41-year Apple IPO hold, Berkshire’s 60-year compounding record (from the 2024 shareholder letter), and more. Historical scenarios, never recommendations.
  • The classic candlestick icon is back. The original site’s icon and social-preview art now serve as the favicon, app icons, and default share image.
  • Layout: text now uses the full content width (no more empty right margins), and the simple-tool results panels gained proper breathing room.

2.1.0 — Bulk editing, the trade chart, and a tidier calculator

  • The trade chart is back. Below the trade list: each trade’s price as dots, the running average cost as a line, and share size as buy/sell columns — hover any point for the exact numbers. Drawn natively, no external libraries, so pages stay instant.
  • Bulk edit returns. Paste or type a whole trade list, one per line — 100@50, a leading minus for sells (-40@65) — and the rows, results, and chart follow live. It’s the same format share links use, so lists round-trip cleanly.
  • A calmer first screen. Fees, tax rate, currency, ticker label, and decimal places now live in a Settings panel; its button shows a summary chip whenever something non-default is active, so applied fees are never invisible. Share price now moved next to the results it unlocks.
  • The homepage news column now combines blog posts and releases, and the header is tighter.

2.0.0 — Complete rebuild

  • Rebuilt the entire site as prerendered static HTML — no rendering shell, instant first paint, full content visible to every crawler. (The previous vendor-built site is the implicit 1.x.)
  • New exact-decimal engines: money and share math computed as exact ratios, rounded once at display — no floating-point artifacts, ever. One documented exception (CAGR’s nth root); method on the about page.
  • The flagship position calculator, rebuilt: trade rows with clone/remove and the classic b/s direction keys, per-side commissions in $ or %, seven display currencies, an optional illustrative tax field, break-even, and realized/unrealized P/L.
  • Six new intent tools: stock profit, stock average + target-average solver, position size, risk/reward, dividend/DRIP with a year table, CAGR, and break-even & loss recovery.
  • Legacy ?data= share links decode on arrival and rewrite to the new ?s= format; unparseable links open a clean default calculator.
  • “Cool trade ideas” renamed Worked examples, re-encoded to new-format links, and labeled as historical scenarios, not recommendations.
  • Spreadsheet-style precision (.0← / .00→, 0–8 places) for percent and ratio outputs; currency amounts follow each currency’s own convention.
  • New FAQ (15 questions), research-cited articles with DOIs verified in CI, this changelog, and a blog.
  • Locale pages consolidated to the English site with single-hop 301s (every inherited URL redirects; the translated legacy content is archived for a future reviewed reintroduction).
  • Educational-not-advice posture made explicit sitewide: footer disclaimer, illustrative tax field, no live market data, no recommendations.