|
|
@ -1035,7 +1035,6 @@ export class PortfolioService { |
|
|
return { |
|
|
return { |
|
|
chart: [], |
|
|
chart: [], |
|
|
dateOfFirstActivity: undefined, |
|
|
dateOfFirstActivity: undefined, |
|
|
firstOrderDate: undefined, |
|
|
|
|
|
hasErrors: false, |
|
|
hasErrors: false, |
|
|
performance: { |
|
|
performance: { |
|
|
currentNetWorth: 0, |
|
|
currentNetWorth: 0, |
|
|
@ -1093,7 +1092,6 @@ export class PortfolioService { |
|
|
errors, |
|
|
errors, |
|
|
hasErrors, |
|
|
hasErrors, |
|
|
dateOfFirstActivity: parseDate(historicalData[0]?.date), |
|
|
dateOfFirstActivity: parseDate(historicalData[0]?.date), |
|
|
firstOrderDate: parseDate(historicalData[0]?.date), |
|
|
|
|
|
performance: { |
|
|
performance: { |
|
|
netPerformance, |
|
|
netPerformance, |
|
|
netPerformanceWithCurrencyEffect, |
|
|
netPerformanceWithCurrencyEffect, |
|
|
|