|
@ -101,7 +101,7 @@ export class CurrencyClusterRiskCurrentInvestment extends Rule<Settings> { |
|
|
public getSettings({ baseCurrency, xRayRules }: UserSettings): Settings { |
|
|
public getSettings({ baseCurrency, xRayRules }: UserSettings): Settings { |
|
|
return { |
|
|
return { |
|
|
baseCurrency, |
|
|
baseCurrency, |
|
|
isActive: xRayRules?.[this.getKey()].isActive ?? true, |
|
|
isActive: xRayRules?.[this.getKey()]?.isActive ?? true, |
|
|
thresholdMax: xRayRules?.[this.getKey()]?.thresholdMax ?? 0.5 |
|
|
thresholdMax: xRayRules?.[this.getKey()]?.thresholdMax ?? 0.5 |
|
|
}; |
|
|
}; |
|
|
} |
|
|
} |
|
|