|
@ -104,8 +104,8 @@ export class TWRPortfolioCalculator extends PortfolioCalculator { |
|
|
activitiesCount: this.activities.filter(({ type }) => { |
|
|
activitiesCount: this.activities.filter(({ type }) => { |
|
|
return ['BUY', 'SELL'].includes(type); |
|
|
return ['BUY', 'SELL'].includes(type); |
|
|
}).length, |
|
|
}).length, |
|
|
errors: [], |
|
|
|
|
|
createdAt: new Date(), |
|
|
createdAt: new Date(), |
|
|
|
|
|
errors: [], |
|
|
historicalData: [], |
|
|
historicalData: [], |
|
|
totalLiabilitiesWithCurrencyEffect: new Big(0), |
|
|
totalLiabilitiesWithCurrencyEffect: new Big(0), |
|
|
totalValuablesWithCurrencyEffect: new Big(0) |
|
|
totalValuablesWithCurrencyEffect: new Big(0) |
|
|