2021-04-13 21:53:58 +02:00
|
|
|
<div class="container">
|
2021-08-15 09:55:46 +02:00
|
|
|
<div class="row">
|
2021-04-13 21:53:58 +02:00
|
|
|
<div class="col">
|
2021-08-07 07:12:40 +02:00
|
|
|
<h3 class="d-flex justify-content-center mb-3" i18n>Allocations</h3>
|
2022-04-24 16:23:03 +02:00
|
|
|
<gf-activities-filter
|
2022-05-07 11:44:29 +02:00
|
|
|
[allFilters]="allFilters"
|
2022-04-26 22:31:53 +02:00
|
|
|
[isLoading]="isLoading"
|
2022-04-24 16:23:03 +02:00
|
|
|
[placeholder]="placeholder"
|
2022-04-26 22:31:53 +02:00
|
|
|
(valueChanged)="filters$.next($event)"
|
2022-04-24 16:23:03 +02:00
|
|
|
></gf-activities-filter>
|
2021-04-13 21:53:58 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="proportion-charts row">
|
2021-09-03 23:20:30 +02:00
|
|
|
<div class="col-md-4">
|
2021-09-03 17:48:35 +02:00
|
|
|
<mat-card class="mb-3">
|
2021-09-03 23:20:30 +02:00
|
|
|
<mat-card-header class="overflow-hidden w-100">
|
|
|
|
<mat-card-title class="text-truncate" i18n>By Account</mat-card-title>
|
2021-09-03 17:48:35 +02:00
|
|
|
<gf-toggle
|
|
|
|
[defaultValue]="period"
|
|
|
|
[isLoading]="false"
|
|
|
|
[options]="periodOptions"
|
|
|
|
(change)="onChangePeriod($event.value)"
|
|
|
|
></gf-toggle>
|
|
|
|
</mat-card-header>
|
|
|
|
<mat-card-content>
|
|
|
|
<gf-portfolio-proportion-chart
|
|
|
|
[baseCurrency]="user?.settings?.baseCurrency"
|
2021-10-02 20:38:41 +02:00
|
|
|
[isInPercent]="hasImpersonationId || user.settings.isRestrictedView"
|
2022-02-19 18:41:12 +01:00
|
|
|
[keys]="['id']"
|
2021-09-03 17:48:35 +02:00
|
|
|
[locale]="user?.settings?.locale"
|
2021-09-03 23:20:30 +02:00
|
|
|
[positions]="accounts"
|
2021-09-03 17:48:35 +02:00
|
|
|
></gf-portfolio-proportion-chart>
|
|
|
|
</mat-card-content>
|
|
|
|
</mat-card>
|
|
|
|
</div>
|
2021-09-03 23:20:30 +02:00
|
|
|
<div class="col-md-4">
|
2021-04-13 21:53:58 +02:00
|
|
|
<mat-card class="mb-3">
|
2021-09-03 23:20:30 +02:00
|
|
|
<mat-card-header class="overflow-hidden w-100">
|
2022-04-07 22:13:41 +02:00
|
|
|
<mat-card-title class="align-items-center d-flex text-truncate"
|
|
|
|
><span i18n>By Currency</span
|
|
|
|
><ion-icon
|
|
|
|
*ngIf="user?.subscription?.type === 'Basic'"
|
|
|
|
class="ml-1 text-muted"
|
|
|
|
name="diamond-outline"
|
|
|
|
></ion-icon
|
|
|
|
></mat-card-title>
|
2021-04-13 21:53:58 +02:00
|
|
|
<gf-toggle
|
|
|
|
[defaultValue]="period"
|
|
|
|
[isLoading]="false"
|
|
|
|
[options]="periodOptions"
|
|
|
|
(change)="onChangePeriod($event.value)"
|
|
|
|
></gf-toggle>
|
|
|
|
</mat-card-header>
|
|
|
|
<mat-card-content>
|
|
|
|
<gf-portfolio-proportion-chart
|
|
|
|
[baseCurrency]="user?.settings?.baseCurrency"
|
2021-10-02 20:38:41 +02:00
|
|
|
[isInPercent]="hasImpersonationId || user.settings.isRestrictedView"
|
2022-04-07 22:13:41 +02:00
|
|
|
[keys]="['currency']"
|
2021-04-13 21:53:58 +02:00
|
|
|
[locale]="user?.settings?.locale"
|
2021-09-03 23:20:30 +02:00
|
|
|
[positions]="positions"
|
2021-04-13 21:53:58 +02:00
|
|
|
></gf-portfolio-proportion-chart>
|
|
|
|
</mat-card-content>
|
|
|
|
</mat-card>
|
|
|
|
</div>
|
2021-09-03 23:20:30 +02:00
|
|
|
<div class="col-md-4">
|
2021-04-13 21:53:58 +02:00
|
|
|
<mat-card class="mb-3">
|
2021-09-03 23:20:30 +02:00
|
|
|
<mat-card-header class="overflow-hidden w-100">
|
2022-04-07 22:13:41 +02:00
|
|
|
<mat-card-title class="align-items-center d-flex text-truncate"
|
|
|
|
><span i18n>By Asset Class</span
|
|
|
|
><ion-icon
|
|
|
|
*ngIf="user?.subscription?.type === 'Basic'"
|
|
|
|
class="ml-1 text-muted"
|
|
|
|
name="diamond-outline"
|
|
|
|
></ion-icon
|
|
|
|
></mat-card-title>
|
2021-04-13 21:53:58 +02:00
|
|
|
<gf-toggle
|
|
|
|
[defaultValue]="period"
|
|
|
|
[isLoading]="false"
|
|
|
|
[options]="periodOptions"
|
|
|
|
(change)="onChangePeriod($event.value)"
|
|
|
|
></gf-toggle>
|
|
|
|
</mat-card-header>
|
|
|
|
<mat-card-content>
|
|
|
|
<gf-portfolio-proportion-chart
|
|
|
|
[baseCurrency]="user?.settings?.baseCurrency"
|
2021-10-02 20:38:41 +02:00
|
|
|
[isInPercent]="hasImpersonationId || user.settings.isRestrictedView"
|
2022-04-07 22:13:41 +02:00
|
|
|
[keys]="['assetClass', 'assetSubClass']"
|
2021-04-13 21:53:58 +02:00
|
|
|
[locale]="user?.settings?.locale"
|
|
|
|
[positions]="positions"
|
|
|
|
></gf-portfolio-proportion-chart>
|
|
|
|
</mat-card-content>
|
|
|
|
</mat-card>
|
|
|
|
</div>
|
2021-09-03 23:20:30 +02:00
|
|
|
<div class="col-md-12 allocations-by-symbol">
|
2021-06-06 15:31:28 +02:00
|
|
|
<mat-card class="mb-3">
|
2021-09-03 23:20:30 +02:00
|
|
|
<mat-card-header class="overflow-hidden w-100">
|
2022-04-07 22:13:41 +02:00
|
|
|
<mat-card-title class="align-items-center d-flex text-truncate"
|
|
|
|
><span i18n>By Symbol</span
|
|
|
|
><ion-icon
|
|
|
|
*ngIf="user?.subscription?.type === 'Basic'"
|
|
|
|
class="ml-1 text-muted"
|
|
|
|
name="diamond-outline"
|
|
|
|
></ion-icon
|
|
|
|
></mat-card-title>
|
2021-06-06 15:31:28 +02:00
|
|
|
<gf-toggle
|
|
|
|
[defaultValue]="period"
|
|
|
|
[isLoading]="false"
|
|
|
|
[options]="periodOptions"
|
|
|
|
(change)="onChangePeriod($event.value)"
|
|
|
|
></gf-toggle>
|
|
|
|
</mat-card-header>
|
|
|
|
<mat-card-content>
|
|
|
|
<gf-portfolio-proportion-chart
|
2021-09-03 23:20:30 +02:00
|
|
|
class="mx-auto"
|
2022-02-28 21:35:52 +01:00
|
|
|
cursor="pointer"
|
2021-06-06 15:31:28 +02:00
|
|
|
[baseCurrency]="user?.settings?.baseCurrency"
|
2021-10-02 20:38:41 +02:00
|
|
|
[isInPercent]="hasImpersonationId || user.settings.isRestrictedView"
|
|
|
|
[keys]="['symbol']"
|
2021-06-06 15:31:28 +02:00
|
|
|
[locale]="user?.settings?.locale"
|
2021-09-03 23:20:30 +02:00
|
|
|
[positions]="symbols"
|
2021-09-08 22:03:33 +02:00
|
|
|
[showLabels]="deviceType !== 'mobile'"
|
2022-02-28 21:35:52 +01:00
|
|
|
(proportionChartClicked)="onProportionChartClicked($event)"
|
2021-06-06 15:31:28 +02:00
|
|
|
></gf-portfolio-proportion-chart>
|
|
|
|
</mat-card-content>
|
|
|
|
</mat-card>
|
|
|
|
</div>
|
2021-09-03 23:20:30 +02:00
|
|
|
<div class="col-md-4">
|
2021-06-06 15:31:28 +02:00
|
|
|
<mat-card class="mb-3">
|
2021-09-03 23:20:30 +02:00
|
|
|
<mat-card-header class="overflow-hidden w-100">
|
2022-04-07 22:13:41 +02:00
|
|
|
<mat-card-title class="align-items-center d-flex text-truncate"
|
|
|
|
><span i18n>By Sector</span
|
|
|
|
><ion-icon
|
|
|
|
*ngIf="user?.subscription?.type === 'Basic'"
|
|
|
|
class="ml-1 text-muted"
|
|
|
|
name="diamond-outline"
|
|
|
|
></ion-icon
|
|
|
|
></mat-card-title>
|
2021-06-06 15:31:28 +02:00
|
|
|
<gf-toggle
|
|
|
|
[defaultValue]="period"
|
|
|
|
[isLoading]="false"
|
|
|
|
[options]="periodOptions"
|
|
|
|
(change)="onChangePeriod($event.value)"
|
|
|
|
></gf-toggle>
|
|
|
|
</mat-card-header>
|
|
|
|
<mat-card-content>
|
|
|
|
<gf-portfolio-proportion-chart
|
|
|
|
[baseCurrency]="user?.settings?.baseCurrency"
|
2021-10-02 20:38:41 +02:00
|
|
|
[isInPercent]="hasImpersonationId || user.settings.isRestrictedView"
|
2021-08-22 22:19:10 +02:00
|
|
|
[keys]="['name']"
|
2021-06-06 15:31:28 +02:00
|
|
|
[locale]="user?.settings?.locale"
|
2021-06-16 17:05:43 +02:00
|
|
|
[maxItems]="10"
|
|
|
|
[positions]="sectors"
|
2021-06-06 15:31:28 +02:00
|
|
|
></gf-portfolio-proportion-chart>
|
|
|
|
</mat-card-content>
|
|
|
|
</mat-card>
|
|
|
|
</div>
|
2021-09-03 23:20:30 +02:00
|
|
|
<div class="col-md-4">
|
2021-04-13 21:53:58 +02:00
|
|
|
<mat-card class="mb-3">
|
2021-09-03 23:20:30 +02:00
|
|
|
<mat-card-header class="overflow-hidden w-100">
|
2022-04-07 22:13:41 +02:00
|
|
|
<mat-card-title class="align-items-center d-flex text-truncate"
|
|
|
|
><span i18n>By Continent</span
|
|
|
|
><ion-icon
|
|
|
|
*ngIf="user?.subscription?.type === 'Basic'"
|
|
|
|
class="ml-1 text-muted"
|
|
|
|
name="diamond-outline"
|
|
|
|
></ion-icon
|
|
|
|
></mat-card-title>
|
2021-04-13 21:53:58 +02:00
|
|
|
<gf-toggle
|
|
|
|
[defaultValue]="period"
|
|
|
|
[isLoading]="false"
|
|
|
|
[options]="periodOptions"
|
|
|
|
(change)="onChangePeriod($event.value)"
|
|
|
|
></gf-toggle>
|
|
|
|
</mat-card-header>
|
|
|
|
<mat-card-content>
|
|
|
|
<gf-portfolio-proportion-chart
|
|
|
|
[baseCurrency]="user?.settings?.baseCurrency"
|
2021-10-02 20:38:41 +02:00
|
|
|
[isInPercent]="hasImpersonationId || user.settings.isRestrictedView"
|
2021-08-22 22:19:10 +02:00
|
|
|
[keys]="['name']"
|
2021-04-13 21:53:58 +02:00
|
|
|
[locale]="user?.settings?.locale"
|
2021-06-08 21:59:46 +02:00
|
|
|
[positions]="continents"
|
2021-04-13 21:53:58 +02:00
|
|
|
></gf-portfolio-proportion-chart>
|
|
|
|
</mat-card-content>
|
|
|
|
</mat-card>
|
|
|
|
</div>
|
2021-09-03 23:20:30 +02:00
|
|
|
<div class="col-md-4">
|
2021-04-13 21:53:58 +02:00
|
|
|
<mat-card class="mb-3">
|
2021-09-03 23:20:30 +02:00
|
|
|
<mat-card-header class="overflow-hidden w-100">
|
2022-04-07 22:13:41 +02:00
|
|
|
<mat-card-title class="align-items-center d-flex text-truncate"
|
|
|
|
><span i18n>By Country</span
|
|
|
|
><ion-icon
|
|
|
|
*ngIf="user?.subscription?.type === 'Basic'"
|
|
|
|
class="ml-1 text-muted"
|
|
|
|
name="diamond-outline"
|
|
|
|
></ion-icon
|
|
|
|
></mat-card-title>
|
2021-04-13 21:53:58 +02:00
|
|
|
<gf-toggle
|
|
|
|
[defaultValue]="period"
|
|
|
|
[isLoading]="false"
|
|
|
|
[options]="periodOptions"
|
|
|
|
(change)="onChangePeriod($event.value)"
|
|
|
|
></gf-toggle>
|
|
|
|
</mat-card-header>
|
|
|
|
<mat-card-content>
|
|
|
|
<gf-portfolio-proportion-chart
|
|
|
|
[baseCurrency]="user?.settings?.baseCurrency"
|
2021-10-02 20:38:41 +02:00
|
|
|
[isInPercent]="hasImpersonationId || user.settings.isRestrictedView"
|
2021-10-31 17:00:59 +01:00
|
|
|
[keys]="['name']"
|
2021-04-13 21:53:58 +02:00
|
|
|
[locale]="user?.settings?.locale"
|
2021-06-14 14:18:02 +02:00
|
|
|
[maxItems]="10"
|
2021-06-08 21:59:46 +02:00
|
|
|
[positions]="countries"
|
2021-04-13 21:53:58 +02:00
|
|
|
></gf-portfolio-proportion-chart>
|
|
|
|
</mat-card-content>
|
|
|
|
</mat-card>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-06-08 21:59:46 +02:00
|
|
|
<div class="row world-map-chart">
|
|
|
|
<div class="col-lg">
|
|
|
|
<mat-card class="mb-3">
|
2021-09-03 23:20:30 +02:00
|
|
|
<mat-card-header class="overflow-hidden w-100">
|
2022-04-07 22:13:41 +02:00
|
|
|
<mat-card-title class="align-items-center d-flex text-truncate"
|
|
|
|
><span i18n>Regions</span
|
|
|
|
><ion-icon
|
|
|
|
*ngIf="user?.subscription?.type === 'Basic'"
|
|
|
|
class="ml-1 text-muted"
|
|
|
|
name="diamond-outline"
|
|
|
|
></ion-icon
|
|
|
|
></mat-card-title>
|
2021-06-08 21:59:46 +02:00
|
|
|
<gf-toggle
|
|
|
|
[defaultValue]="period"
|
|
|
|
[isLoading]="false"
|
|
|
|
[options]="periodOptions"
|
|
|
|
(change)="onChangePeriod($event.value)"
|
|
|
|
></gf-toggle>
|
|
|
|
</mat-card-header>
|
|
|
|
<mat-card-content>
|
|
|
|
<gf-world-map-chart
|
|
|
|
[baseCurrency]="user?.settings?.baseCurrency"
|
|
|
|
[countries]="countries"
|
2021-10-02 20:38:41 +02:00
|
|
|
[isInPercent]="hasImpersonationId || user.settings.isRestrictedView"
|
2021-06-08 21:59:46 +02:00
|
|
|
></gf-world-map-chart>
|
2022-03-26 13:11:30 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12 col-md-4 my-2">
|
|
|
|
<gf-value
|
|
|
|
label="Developed Markets"
|
|
|
|
size="large"
|
|
|
|
[isPercent]="true"
|
|
|
|
[value]="markets?.developedMarkets?.value"
|
|
|
|
></gf-value>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-12 col-md-4 my-2">
|
|
|
|
<gf-value
|
|
|
|
label="Emerging Markets"
|
|
|
|
size="large"
|
|
|
|
[isPercent]="true"
|
|
|
|
[value]="markets?.emergingMarkets?.value"
|
|
|
|
></gf-value>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-12 col-md-4 my-2">
|
|
|
|
<gf-value
|
|
|
|
label="Other Markets"
|
|
|
|
size="large"
|
|
|
|
[isPercent]="true"
|
|
|
|
[value]="markets?.otherMarkets?.value"
|
|
|
|
></gf-value>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-06-08 21:59:46 +02:00
|
|
|
</mat-card-content>
|
|
|
|
</mat-card>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-08-15 09:55:46 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg">
|
|
|
|
<gf-positions-table
|
|
|
|
[baseCurrency]="user?.settings?.baseCurrency"
|
|
|
|
[deviceType]="deviceType"
|
|
|
|
[locale]="user?.settings?.locale"
|
|
|
|
[positions]="positionsArray"
|
|
|
|
></gf-positions-table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-04-13 21:53:58 +02:00
|
|
|
</div>
|