|
@ -236,14 +236,14 @@ export class AllocationsPageComponent implements OnDestroy, OnInit { |
|
|
// Prepare analysis data by continents, countries and sectors except for cash
|
|
|
// Prepare analysis data by continents, countries and sectors except for cash
|
|
|
|
|
|
|
|
|
if (position.countries.length > 0) { |
|
|
if (position.countries.length > 0) { |
|
|
this.markets['developedMarkets'].value += |
|
|
this.markets.developedMarkets.value += |
|
|
position.markets['developedMarkets'] * |
|
|
position.markets.developedMarkets * |
|
|
(aPeriod === 'original' ? position.investment : position.value); |
|
|
(aPeriod === 'original' ? position.investment : position.value); |
|
|
this.markets['emergingMarkets'].value += |
|
|
this.markets.emergingMarkets.value += |
|
|
position.markets['emergingMarkets'] * |
|
|
position.markets.emergingMarkets * |
|
|
(aPeriod === 'original' ? position.investment : position.value); |
|
|
(aPeriod === 'original' ? position.investment : position.value); |
|
|
this.markets['otherMarkets'].value += |
|
|
this.markets.otherMarkets.value += |
|
|
position.markets['otherMarkets'] * |
|
|
position.markets.otherMarkets * |
|
|
(aPeriod === 'original' ? position.investment : position.value); |
|
|
(aPeriod === 'original' ? position.investment : position.value); |
|
|
|
|
|
|
|
|
for (const country of position.countries) { |
|
|
for (const country of position.countries) { |
|
|