|
|
@ -101,7 +101,9 @@ export class TWRPortfolioCalculator extends PortfolioCalculator { |
|
|
|
totalInterestWithCurrencyEffect, |
|
|
|
totalInvestment, |
|
|
|
totalInvestmentWithCurrencyEffect, |
|
|
|
activitiesCount: this.activities.length, |
|
|
|
activitiesCount: this.activities.filter(({ type }) => { |
|
|
|
return ['BUY', 'SELL'].includes(type); |
|
|
|
}).length, |
|
|
|
errors: [], |
|
|
|
historicalData: [], |
|
|
|
totalLiabilitiesWithCurrencyEffect: new Big(0), |
|
|
|