From d3f9c82f02d8748a74eb958c5f5c0c5f90635c82 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Fri, 30 May 2025 19:40:47 +0200 Subject: [PATCH] Clean up --- apps/api/src/app/portfolio/portfolio.service.ts | 3 --- .../responses/portfolio-holding-response.interface.ts | 1 - 2 files changed, 4 deletions(-) diff --git a/apps/api/src/app/portfolio/portfolio.service.ts b/apps/api/src/app/portfolio/portfolio.service.ts index 5f1130a92..e8f50e1e2 100644 --- a/apps/api/src/app/portfolio/portfolio.service.ts +++ b/apps/api/src/app/portfolio/portfolio.service.ts @@ -663,7 +663,6 @@ export class PortfolioService { grossPerformancePercentWithCurrencyEffect: undefined, grossPerformanceWithCurrencyEffect: undefined, historicalData: [], - investmentInBaseCurrency: undefined, investmentInBaseCurrencyWithCurrencyEffect: undefined, marketPrice: undefined, marketPriceMax: undefined, @@ -854,7 +853,6 @@ export class PortfolioService { grossPerformanceWithCurrencyEffect: position.grossPerformanceWithCurrencyEffect?.toNumber(), historicalData: historicalDataArray, - investmentInBaseCurrency: position.investment?.toNumber(), investmentInBaseCurrencyWithCurrencyEffect: position.investmentWithCurrencyEffect?.toNumber(), netPerformance: position.netPerformance?.toNumber(), @@ -955,7 +953,6 @@ export class PortfolioService { grossPerformancePercentWithCurrencyEffect: undefined, grossPerformanceWithCurrencyEffect: undefined, historicalData: historicalDataArray, - investmentInBaseCurrency: 0, investmentInBaseCurrencyWithCurrencyEffect: 0, netPerformance: undefined, netPerformancePercent: undefined, diff --git a/libs/common/src/lib/interfaces/responses/portfolio-holding-response.interface.ts b/libs/common/src/lib/interfaces/responses/portfolio-holding-response.interface.ts index 0010e2747..000460228 100644 --- a/libs/common/src/lib/interfaces/responses/portfolio-holding-response.interface.ts +++ b/libs/common/src/lib/interfaces/responses/portfolio-holding-response.interface.ts @@ -22,7 +22,6 @@ export interface PortfolioHoldingResponse { grossPerformancePercentWithCurrencyEffect: number; grossPerformanceWithCurrencyEffect: number; historicalData: HistoricalDataItem[]; - investmentInBaseCurrency: number; investmentInBaseCurrencyWithCurrencyEffect: number; marketPrice: number; marketPriceMax: number;