feat(DISPLAY-002): GLD mode shows real share prices

This commit is contained in:
Bu5hm4nn
2026-03-28 21:45:00 +01:00
parent 24c74cacbd
commit dac0463d55
8 changed files with 800 additions and 40 deletions

View File

@@ -1,27 +0,0 @@
id: DISPLAY-002
title: GLD Mode Shows Real GLD Pricing
status: backlog
priority: P0
size: S
depends_on:
- DISPLAY-001
tags: [ui, gld-mode]
summary: In GLD display mode, show real GLD share prices without conversion to physical gold.
acceptance_criteria:
- GLD mode shows position quantity as "shares" not "oz"
- GLD mode shows position value as `shares × GLD_price` not converted to gold
- Entry price shown as GLD share price at time of purchase
- P&L calculated as `(current_GLD_price - entry_GLD_price) × shares`
- LTV calculated using GLD position value as collateral
- Options strike selection in GLD mode uses GLD share prices directly
- Hedge cost shown as $/share or $/position, not $/oz
notes:
- This is the key insight: GLD mode should NOT convert to gold
- User bought shares, they think in shares, they should see share metrics
- GLD backing decay is irrelevant in GLD mode (baked into price)
- Only when switching to XAU mode is conversion needed
implementation_hints:
- GLD mode short-circuits conversion logic
- Overview in GLD mode: position value = shares × GLD_price
- Hedge in GLD mode: strike = GLD_share_price × strike_pct
- Add `position.is_gld()` helper to check display treatment