Targets

@if (profile) {
{{ profile.name }}
Allowed deviation: ±{{ profile.tolerance * 100 | number: '1.0-1' }}% } @else { No target configured yet }
@if (canEdit) { }
@if (accounts.length > 1) { Account All accounts @for (account of accounts; track account.id) { {{ account.name }} } @if (selectedAccountId) {

Comparing the selected account with the global portfolio target.

} } @if (!profile) {

Create a target to compare the actual asset allocation with your desired allocation.

} @else if (isLoading) {

Loading portfolio allocation…

} @else if (hasError || !result || result.status === 'unavailable') {

The current allocation cannot be calculated with the available data or permissions.

} @else if (result.status === 'empty') {

The selected portfolio is empty.

} @else if (result.status === 'inconsistent') {

The asset classification or account values cannot be reconciled. Check unclassified holdings, missing market prices, or negative balances before using this comparison.

} @else { @if (result.unclassifiedValue > 0) {

Some holdings have no asset classification. The reported allocation is incomplete.

}
Total allocation drift
{{ result.totalDrift * 100 | number: '1.0-2' }}%
Maximum deviation
{{ result.maxDrift * 100 | number: '1.0-2' }}%
Classes outside tolerance
{{ result.outOfToleranceCount }} / {{ displayedRows.length }}
Actual vs target allocation
Actual Target
@for (row of displayedRows; track row.assetClass) {
{{ formatClass(row.assetClass) }} {{ (row.drift >= 0 ? '+' : '') + (row.drift * 100 | number: '1.0-2') }}%
}
Deviation details @for (row of displayedRows; track row.assetClass) { }
Asset class Actual Target Deviation Status
{{ formatClass(row.assetClass) }} {{ row.actual * 100 | number: '1.0-2' }}% {{ row.target * 100 | number: '1.0-2' }}% {{ row.drift >= 0 ? '+' : '' }}{{ row.drift * 100 | number: '1.0-2' }}% @if (row.outOfTolerance) { Outside tolerance } @else { Within tolerance }
}