Feature/refactor regional market cluster risk rule for North America (#4276)
* Refactoring
This commit is contained in:
parent
9ab21508a5
commit
9905c428af
@ -10,7 +10,7 @@ export class RegionalMarketClusterRiskNorthAmerica extends Rule<Settings> {
|
||||
public constructor(
|
||||
protected exchangeRateDataService: ExchangeRateDataService,
|
||||
currentValueInBaseCurrency: number,
|
||||
valueInBaseCurrency
|
||||
northAmericaValueInBaseCurrency: number
|
||||
) {
|
||||
super(exchangeRateDataService, {
|
||||
key: RegionalMarketClusterRiskNorthAmerica.name,
|
||||
@ -18,7 +18,7 @@ export class RegionalMarketClusterRiskNorthAmerica extends Rule<Settings> {
|
||||
});
|
||||
|
||||
this.currentValueInBaseCurrency = currentValueInBaseCurrency;
|
||||
this.northAmericaValueInBaseCurrency = valueInBaseCurrency;
|
||||
this.northAmericaValueInBaseCurrency = northAmericaValueInBaseCurrency;
|
||||
}
|
||||
|
||||
public evaluate(ruleSettings: Settings) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user