Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Task/remove unused exchange from portfolio position interface (#7537)

Thomas Kaul3eb10cc2e12a
diff --git a/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts b/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts
index dd2c62f98e..0931578cf6 100644
--- a/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts
+++ b/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts
@@ -95,7 +95,7 @@ export class GfAllocationsPageComponent implements OnInit {
| 'assetSubClassLabel'
| 'currency'
| 'name'
- > & { etfProvider: string; exchange?: string; value: number };
+ > & { etfProvider: string; value: number };
};
protected isLoading = false;
protected markets: PortfolioDetails['markets'];
@@ -381,7 +381,6 @@ export class GfAllocationsPageComponent implements OnInit {
assetSubClass: position.assetProfile.assetSubClass,
name: position.assetProfile.name
}),
- exchange: position.exchange,
name: position.assetProfile.name,
value: this.showValuesInPercentage()
? position.allocationInPercentage
diff --git a/libs/common/src/lib/interfaces/portfolio-position.interface.ts b/libs/common/src/lib/interfaces/portfolio-position.interface.ts
index 388e661f70..65d7ea1405 100644
--- a/libs/common/src/lib/interfaces/portfolio-position.interface.ts
+++ b/libs/common/src/lib/interfaces/portfolio-position.interface.ts
@@ -26,7 +26,6 @@ export interface PortfolioPosition {
};
dateOfFirstActivity: Date;
dividend: number;
- exchange?: string;
grossPerformance: number;
grossPerformancePercent: number;
grossPerformancePercentWithCurrencyEffect: number;