Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/ghostfolio/commit/ffc6309850991a99b3bf298d3e05867e77bd60a8
You should set ROOT_URL correctly, otherwise the web may not work correctly.
5 changed files with
23 additions and
22 deletions
@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Improved the allocations by ETF holding on the allocations page for the impersonation mode (experimental)
- Improved the detection of REST APIs (`JSON`) used via the scraper configuration
- Refactored the thresholds of the rules in the _X-ray_ section
- Upgraded `Nx` from version `19.2.2` to `19.4.0`
## 2.92.0 - 2024-06-30
@ -55,10 +55,10 @@ export class AccountClusterRiskCurrentInvestment extends Rule<Settings> {
const maxInvestmentRatio = maxItem ? . investment / totalInvestment || 0 ;
if ( maxInvestmentRatio > ruleSettings . threshold ) {
if ( maxInvestmentRatio > ruleSettings . threshold Max ) {
return {
evaluation : ` Over ${
ruleSettings . threshold * 100
ruleSettings . threshold Max * 100
} % of your current investment is at $ { maxItem . name } ( $ { (
maxInvestmentRatio * 100
) . toPrecision ( 3 ) } % ) ` ,
@ -70,7 +70,7 @@ export class AccountClusterRiskCurrentInvestment extends Rule<Settings> {
evaluation : ` The major part of your current investment is at ${
maxItem . name
} ( $ { ( maxInvestmentRatio * 100 ) . toPrecision ( 3 ) } % ) and does not exceed $ {
ruleSettings . threshold * 100
ruleSettings . threshold Max * 100
} % ` ,
value : true
} ;
@ -80,12 +80,12 @@ export class AccountClusterRiskCurrentInvestment extends Rule<Settings> {
return {
baseCurrency : aUserSettings.baseCurrency ,
isActive : true ,
threshold : 0.5
threshold Max : 0.5
} ;
}
}
interface Settings extends RuleSettings {
baseCurrency : string ;
threshold : number ;
threshold Max : number ;
}
@ -41,10 +41,10 @@ export class CurrencyClusterRiskCurrentInvestment extends Rule<Settings> {
const maxValueRatio = maxItem ? . value / totalValue || 0 ;
if ( maxValueRatio > ruleSettings . threshold ) {
if ( maxValueRatio > ruleSettings . threshold Max ) {
return {
evaluation : ` Over ${
ruleSettings . threshold * 100
ruleSettings . threshold Max * 100
} % of your current investment is in $ { maxItem . groupKey } ( $ { (
maxValueRatio * 100
) . toPrecision ( 3 ) } % ) ` ,
@ -56,7 +56,7 @@ export class CurrencyClusterRiskCurrentInvestment extends Rule<Settings> {
evaluation : ` The major part of your current investment is in ${
maxItem ? . groupKey ? ? ruleSettings . baseCurrency
} ( $ { ( maxValueRatio * 100 ) . toPrecision ( 3 ) } % ) and does not exceed $ {
ruleSettings . threshold * 100
ruleSettings . threshold Max * 100
} % ` ,
value : true
} ;
@ -66,12 +66,12 @@ export class CurrencyClusterRiskCurrentInvestment extends Rule<Settings> {
return {
baseCurrency : aUserSettings.baseCurrency ,
isActive : true ,
threshold : 0.5
threshold Max : 0.5
} ;
}
}
interface Settings extends RuleSettings {
baseCurrency : string ;
threshold : number ;
threshold Max : number ;
}
@ -19,16 +19,16 @@ export class EmergencyFundSetup extends Rule<Settings> {
}
public evaluate ( ruleSettings : Settings ) {
if ( this . emergencyFund > ruleSettings . threshold ) {
if ( this . emergencyFund < ruleSettings . thresholdMin ) {
return {
evaluation : ' An emergency fund has been set up',
value : tru e
evaluation : ' No emergency fund has been set up',
value : fals e
} ;
}
return {
evaluation : ' No emergency fund has been set up',
value : fals e
evaluation : ' An emergency fund has been set up',
value : tru e
} ;
}
@ -36,12 +36,12 @@ export class EmergencyFundSetup extends Rule<Settings> {
return {
baseCurrency : aUserSettings.baseCurrency ,
isActive : true ,
threshold : 0
threshold Min : 0
} ;
}
}
interface Settings extends RuleSettings {
baseCurrency : string ;
threshold : number ;
threshold Min : number ;
}
@ -26,10 +26,10 @@ export class FeeRatioInitialInvestment extends Rule<Settings> {
? this . fees / this . totalInvestment
: 0 ;
if ( feeRatio > ruleSettings . threshold ) {
if ( feeRatio > ruleSettings . threshold Max ) {
return {
evaluation : ` The fees do exceed ${
ruleSettings . threshold * 100
ruleSettings . threshold Max * 100
} % of your initial investment ( $ { ( feeRatio * 100 ) . toPrecision ( 3 ) } % ) ` ,
value : false
} ;
@ -37,7 +37,7 @@ export class FeeRatioInitialInvestment extends Rule<Settings> {
return {
evaluation : ` The fees do not exceed ${
ruleSettings . threshold * 100
ruleSettings . threshold Max * 100
} % of your initial investment ( $ { ( feeRatio * 100 ) . toPrecision ( 3 ) } % ) ` ,
value : true
} ;
@ -47,12 +47,12 @@ export class FeeRatioInitialInvestment extends Rule<Settings> {
return {
baseCurrency : aUserSettings.baseCurrency ,
isActive : true ,
threshold : 0.01
threshold Max : 0.01
} ;
}
}
interface Settings extends RuleSettings {
baseCurrency : string ;
threshold : number ;
threshold Max : number ;
}