refactor get position endpoint

Co-authored-by: Thomas <dotsilver@gmail.com>
This commit is contained in:
Valentin Zickner
2021-07-31 22:13:57 +02:00
committed by Thomas
parent de83dc7b84
commit 71a3115fc6
2 changed files with 63 additions and 67 deletions

View File

@@ -67,7 +67,7 @@ export class PositionDetailDialog implements OnDestroy {
this.benchmarkDataItems = [];
this.currency = currency;
this.firstBuyDate = firstBuyDate;
this.grossPerformance = quantity * grossPerformance;
this.grossPerformance = grossPerformance;
this.grossPerformancePercent = grossPerformancePercent;
this.historicalDataItems = historicalData.map(
(historicalDataItem) => {