Ensure holdings are normalized to account currency

This commit is contained in:
Zach Gollwitzer
2025-03-07 18:02:08 -05:00
parent 5f8a3c9f50
commit 86bf47a32e

View File

@@ -37,7 +37,7 @@ class Account::Holding::PortfolioCache
security_id: security_id,
date: price.date,
price: converted_amount,
currency: price.currency
currency: account.currency
)
end