|
@ -713,10 +713,14 @@ export abstract class PortfolioCalculator { |
|
|
netPerformanceWithCurrencyEffect: |
|
|
netPerformanceWithCurrencyEffect: |
|
|
netPerformanceWithCurrencyEffectSinceStartDate, |
|
|
netPerformanceWithCurrencyEffectSinceStartDate, |
|
|
netPerformanceInPercentage: |
|
|
netPerformanceInPercentage: |
|
|
netPerformanceSinceStartDate / timeWeightedInvestmentValue, |
|
|
timeWeightedInvestmentValue === 0 |
|
|
|
|
|
? 0 |
|
|
|
|
|
: netPerformanceSinceStartDate / timeWeightedInvestmentValue, |
|
|
netPerformanceInPercentageWithCurrencyEffect: |
|
|
netPerformanceInPercentageWithCurrencyEffect: |
|
|
netPerformanceWithCurrencyEffectSinceStartDate / |
|
|
timeWeightedInvestmentValue === 0 |
|
|
timeWeightedInvestmentValue, |
|
|
? 0 |
|
|
|
|
|
: netPerformanceWithCurrencyEffectSinceStartDate / |
|
|
|
|
|
timeWeightedInvestmentValue, |
|
|
// TODO: Add net worth with valuables
|
|
|
// TODO: Add net worth with valuables
|
|
|
// netWorth: totalCurrentValueWithCurrencyEffect
|
|
|
// netWorth: totalCurrentValueWithCurrencyEffect
|
|
|
// .plus(totalAccountBalanceWithCurrencyEffect)
|
|
|
// .plus(totalAccountBalanceWithCurrencyEffect)
|
|
|