Feature/refactor regional market cluster risk rule for North America (#4276)

* Refactoring
pull/4277/head
Thomas Kaul 3 weeks ago committed by GitHub
parent 9ab21508a5
commit 9905c428af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -10,7 +10,7 @@ export class RegionalMarketClusterRiskNorthAmerica extends Rule<Settings> {
public constructor( public constructor(
protected exchangeRateDataService: ExchangeRateDataService, protected exchangeRateDataService: ExchangeRateDataService,
currentValueInBaseCurrency: number, currentValueInBaseCurrency: number,
valueInBaseCurrency northAmericaValueInBaseCurrency: number
) { ) {
super(exchangeRateDataService, { super(exchangeRateDataService, {
key: RegionalMarketClusterRiskNorthAmerica.name, key: RegionalMarketClusterRiskNorthAmerica.name,
@ -18,7 +18,7 @@ export class RegionalMarketClusterRiskNorthAmerica extends Rule<Settings> {
}); });
this.currentValueInBaseCurrency = currentValueInBaseCurrency; this.currentValueInBaseCurrency = currentValueInBaseCurrency;
this.northAmericaValueInBaseCurrency = valueInBaseCurrency; this.northAmericaValueInBaseCurrency = northAmericaValueInBaseCurrency;
} }
public evaluate(ruleSettings: Settings) { public evaluate(ruleSettings: Settings) {

Loading…
Cancel
Save