Repository navigation
v0.31.2
portfolioUSD values are correct for HKD-anchored exchange rates. When an account's exchange-rate table is anchored on HKD (paper trading accounts today), HKD holdings were multiplied by the HKD/USD rate instead of divided, overstatingmarket_value_usd,total_plandtotal_today_plby about 7×. They are now converted correctly (#344).- Currencies quoted only against HKD are converted through HKD. SGD, CNY and CNH holdings in an HKD-anchored table were passed through unconverted under a USD label.
- No more silent pass-through. When no rate links a holding's currency to USD,
market_value_usdisnulland the overview'stotal_pl/total_today_plarenull(shown as-in the table and TUI), instead of the unconverted amount. If a script reads these fields, handlenull.
Full changelog: v0.31.1...v0.31.2