forked from admin/family_budget
feat: refresh portfolio valuation from market quotes
This commit is contained in:
1 parent
71a18e8656
commit
c2e515ba8d
11 files changed
+167
-27
No files matched your search
+1
-1
@@ -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",
|
||||
|
||||
@@ -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[];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user