Browse Source

Reordering

pull/3975/head
Ivan Skvortsov 10 months ago
parent
commit
6c8a68e29e
  1. 8
      apps/api/src/app/portfolio/portfolio.service.ts

8
apps/api/src/app/portfolio/portfolio.service.ts

@ -1191,15 +1191,15 @@ export class PortfolioService {
summary.ordersCount > 0 summary.ordersCount > 0
? await this.rulesService.evaluate( ? await this.rulesService.evaluate(
[ [
new AllocationClusterRiskEmergingMarkets( new AllocationClusterRiskDevelopedMarkets(
this.exchangeRateDataService, this.exchangeRateDataService,
summary.currentValueInBaseCurrency, summary.currentValueInBaseCurrency,
markets.emergingMarkets.valueInBaseCurrency markets.developedMarkets.valueInBaseCurrency
), ),
new AllocationClusterRiskDevelopedMarkets( new AllocationClusterRiskEmergingMarkets(
this.exchangeRateDataService, this.exchangeRateDataService,
summary.currentValueInBaseCurrency, summary.currentValueInBaseCurrency,
markets.developedMarkets.valueInBaseCurrency markets.emergingMarkets.valueInBaseCurrency
) )
], ],
userSettings userSettings

Loading…
Cancel
Save