P2 feature tier: multi-currency + FX + investment lots (amount/value seam payoff) #8

Open
opened 2026-06-29 16:11:49 -07:00 by agent-int · 0 comments
Collaborator

Design context: docs/design/server-split.md + tracking issue seltzerhq/pecun#18 (the code lives here in nic/commons). (design section 12, P2 tier + section 10.5)

The amount/value seam (P6.1) laid the groundwork; this is the payoff:

  • Move the zero-sum invariant from amount to value (transaction currency) + surface
    value/commodity on the wire (single-currency no-op today, so deferred).
  • Price DB / commodity model (GnuCash PriceDB; Beancount price).
  • Multi-currency + FX gains/losses (GnuCash trading accounts / per-commodity balancing).
  • Investment lots & cost basis (Beancount {} + booking methods FIFO/AVERAGE).
Design context: `docs/design/server-split.md` + tracking issue **seltzerhq/pecun#18** (the code lives here in nic/commons). (design section 12, P2 tier + section 10.5) The amount/value seam (P6.1) laid the groundwork; this is the payoff: - [ ] Move the zero-sum invariant from `amount` to `value` (transaction currency) + surface value/commodity on the wire (single-currency no-op today, so deferred). - [ ] Price DB / commodity model (GnuCash PriceDB; Beancount `price`). - [ ] Multi-currency + FX gains/losses (GnuCash trading accounts / per-commodity balancing). - [ ] Investment lots & cost basis (Beancount `{}` + booking methods FIFO/AVERAGE).
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nic/commons#8
No description provided.