Browse Source

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

Remove exchange
pull/7535/head^2
Thomas Kaul 4 days ago
committed by GitHub
parent
commit
3eb10cc2e1
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts
  2. 1
      libs/common/src/lib/interfaces/portfolio-position.interface.ts

3
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

1
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;

Loading…
Cancel
Save