feat: refresh portfolio valuation from market quotes

This commit is contained in:
admin committed 2026-08-28 08:23:56 +03:00
1 parent 71a18e8656
commit c2e515ba8d
11 files changed
+167 -27

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@family-budget/shared",
"version": "0.9.0",
"version": "0.10.0",
"private": true,
"main": "dist/index.js",
"types": "dist/index.d.ts",
+6
View File
@@ -105,6 +105,9 @@ export interface PortfolioOverviewPosition {
quantity: string;
price: string | null;
valuation: string | null;
currentPrice?: string | null;
currentValuation?: string | null;
quoteAt?: string | null;
}
export interface PortfolioOverviewAccount {
@@ -112,6 +115,9 @@ export interface PortfolioOverviewAccount {
accountName: string;
reportPeriodTo: string;
totalValuation: string | null;
currentValuation?: string | null;
valuationAsOf?: string | null;
valuationSource?: 'market' | 'mixed' | 'report';
positions: PortfolioOverviewPosition[];
}