|
@ -2,11 +2,28 @@ |
|
|
<div class="row"> |
|
|
<div class="row"> |
|
|
<div class="col"> |
|
|
<div class="col"> |
|
|
<h2 class="d-none d-sm-block h3 mb-3 text-center">X-ray</h2> |
|
|
<h2 class="d-none d-sm-block h3 mb-3 text-center">X-ray</h2> |
|
|
<p class="mb-4" i18n> |
|
|
<p i18n> |
|
|
Ghostfolio X-ray uses static analysis to uncover potential issues and |
|
|
Ghostfolio X-ray uses static analysis to uncover potential issues and |
|
|
risks in your portfolio. Adjust the rules below and set custom |
|
|
risks in your portfolio. Adjust the rules below and set custom |
|
|
thresholds to align with your personal investment strategy. |
|
|
thresholds to align with your personal investment strategy. |
|
|
</p> |
|
|
</p> |
|
|
|
|
|
<p class="mb-4"> |
|
|
|
|
|
@if (isLoading) { |
|
|
|
|
|
<ngx-skeleton-loader |
|
|
|
|
|
animation="pulse" |
|
|
|
|
|
class="w-100" |
|
|
|
|
|
[theme]="{ |
|
|
|
|
|
height: '1rem', |
|
|
|
|
|
width: '100%' |
|
|
|
|
|
}" |
|
|
|
|
|
/> |
|
|
|
|
|
} @else { |
|
|
|
|
|
{{ statistics?.rulesFulfilledCount }} |
|
|
|
|
|
<ng-container i18n>of</ng-container> |
|
|
|
|
|
{{ statistics?.rulesActiveCount }} |
|
|
|
|
|
<ng-container i18n>rules are currently fulfilled.</ng-container> |
|
|
|
|
|
} |
|
|
|
|
|
</p> |
|
|
<div class="mb-4"> |
|
|
<div class="mb-4"> |
|
|
<h4 class="align-items-center d-flex m-0"> |
|
|
<h4 class="align-items-center d-flex m-0"> |
|
|
<span i18n>Emergency Fund</span> |
|
|
<span i18n>Emergency Fund</span> |
|
@ -20,7 +37,7 @@ |
|
|
hasPermissionToUpdateUserSettings && |
|
|
hasPermissionToUpdateUserSettings && |
|
|
user?.settings?.isExperimentalFeatures |
|
|
user?.settings?.isExperimentalFeatures |
|
|
" |
|
|
" |
|
|
[isLoading]="isLoadingPortfolioReport" |
|
|
[isLoading]="isLoading" |
|
|
[rules]="emergencyFundRules" |
|
|
[rules]="emergencyFundRules" |
|
|
[settings]="user?.settings?.xRayRules" |
|
|
[settings]="user?.settings?.xRayRules" |
|
|
(rulesUpdated)="onRulesUpdated($event)" |
|
|
(rulesUpdated)="onRulesUpdated($event)" |
|
@ -39,7 +56,7 @@ |
|
|
hasPermissionToUpdateUserSettings && |
|
|
hasPermissionToUpdateUserSettings && |
|
|
user?.settings?.isExperimentalFeatures |
|
|
user?.settings?.isExperimentalFeatures |
|
|
" |
|
|
" |
|
|
[isLoading]="isLoadingPortfolioReport" |
|
|
[isLoading]="isLoading" |
|
|
[rules]="currencyClusterRiskRules" |
|
|
[rules]="currencyClusterRiskRules" |
|
|
[settings]="user?.settings?.xRayRules" |
|
|
[settings]="user?.settings?.xRayRules" |
|
|
(rulesUpdated)="onRulesUpdated($event)" |
|
|
(rulesUpdated)="onRulesUpdated($event)" |
|
@ -58,7 +75,7 @@ |
|
|
hasPermissionToUpdateUserSettings && |
|
|
hasPermissionToUpdateUserSettings && |
|
|
user?.settings?.isExperimentalFeatures |
|
|
user?.settings?.isExperimentalFeatures |
|
|
" |
|
|
" |
|
|
[isLoading]="isLoadingPortfolioReport" |
|
|
[isLoading]="isLoading" |
|
|
[rules]="accountClusterRiskRules" |
|
|
[rules]="accountClusterRiskRules" |
|
|
[settings]="user?.settings?.xRayRules" |
|
|
[settings]="user?.settings?.xRayRules" |
|
|
(rulesUpdated)="onRulesUpdated($event)" |
|
|
(rulesUpdated)="onRulesUpdated($event)" |
|
@ -77,7 +94,7 @@ |
|
|
hasPermissionToUpdateUserSettings && |
|
|
hasPermissionToUpdateUserSettings && |
|
|
user?.settings?.isExperimentalFeatures |
|
|
user?.settings?.isExperimentalFeatures |
|
|
" |
|
|
" |
|
|
[isLoading]="isLoadingPortfolioReport" |
|
|
[isLoading]="isLoading" |
|
|
[rules]="economicMarketClusterRiskRules" |
|
|
[rules]="economicMarketClusterRiskRules" |
|
|
[settings]="user?.settings?.xRayRules" |
|
|
[settings]="user?.settings?.xRayRules" |
|
|
(rulesUpdated)="onRulesUpdated($event)" |
|
|
(rulesUpdated)="onRulesUpdated($event)" |
|
@ -96,7 +113,7 @@ |
|
|
hasPermissionToUpdateUserSettings && |
|
|
hasPermissionToUpdateUserSettings && |
|
|
user?.settings?.isExperimentalFeatures |
|
|
user?.settings?.isExperimentalFeatures |
|
|
" |
|
|
" |
|
|
[isLoading]="isLoadingPortfolioReport" |
|
|
[isLoading]="isLoading" |
|
|
[rules]="feeRules" |
|
|
[rules]="feeRules" |
|
|
[settings]="user?.settings?.xRayRules" |
|
|
[settings]="user?.settings?.xRayRules" |
|
|
(rulesUpdated)="onRulesUpdated($event)" |
|
|
(rulesUpdated)="onRulesUpdated($event)" |
|
@ -111,7 +128,7 @@ |
|
|
hasPermissionToUpdateUserSettings && |
|
|
hasPermissionToUpdateUserSettings && |
|
|
user?.settings?.isExperimentalFeatures |
|
|
user?.settings?.isExperimentalFeatures |
|
|
" |
|
|
" |
|
|
[isLoading]="isLoadingPortfolioReport" |
|
|
[isLoading]="isLoading" |
|
|
[rules]="inactiveRules" |
|
|
[rules]="inactiveRules" |
|
|
[settings]="user?.settings?.xRayRules" |
|
|
[settings]="user?.settings?.xRayRules" |
|
|
(rulesUpdated)="onRulesUpdated($event)" |
|
|
(rulesUpdated)="onRulesUpdated($event)" |
|
|