Raphi
14 hours ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
10 additions and
3 deletions
-
CHANGELOG.md
-
apps/api/src/app/portfolio/portfolio.service.ts
-
apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts
|
|
@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
### Changed |
|
|
### Changed |
|
|
|
|
|
|
|
|
- Prefilled the form in the account balance management with the current cash balance |
|
|
- Prefilled the form in the account balance management with the current cash balance |
|
|
|
|
|
- Removed precious metals (Commodities) from the analysis data by continents, countries, sectors and markets |
|
|
|
|
|
|
|
|
## 3.8.0 - 2026-06-07 |
|
|
## 3.8.0 - 2026-06-07 |
|
|
|
|
|
|
|
|
|
|
|
@ -1453,7 +1453,10 @@ export class PortfolioService { |
|
|
for (const [, position] of Object.entries(holdings)) { |
|
|
for (const [, position] of Object.entries(holdings)) { |
|
|
const value = position.valueInBaseCurrency; |
|
|
const value = position.valueInBaseCurrency; |
|
|
|
|
|
|
|
|
if (position.assetProfile.assetClass !== AssetClass.LIQUIDITY) { |
|
|
if ( |
|
|
|
|
|
position.assetProfile.assetClass !== AssetClass.LIQUIDITY && |
|
|
|
|
|
position.assetProfile.assetSubClass !== AssetClass.COMMODITY |
|
|
|
|
|
) { |
|
|
if (position.assetProfile.countries.length > 0) { |
|
|
if (position.assetProfile.countries.length > 0) { |
|
|
markets.developedMarkets.valueInBaseCurrency += |
|
|
markets.developedMarkets.valueInBaseCurrency += |
|
|
position.markets.developedMarkets * value; |
|
|
position.markets.developedMarkets * value; |
|
|
|
|
|
@ -348,8 +348,11 @@ export class GfAllocationsPageComponent implements OnInit { |
|
|
name: position.assetProfile.name |
|
|
name: position.assetProfile.name |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
if (position.assetProfile.assetClass !== AssetClass.LIQUIDITY) { |
|
|
if ( |
|
|
// Prepare analysis data by continents, countries, holdings and sectors except for liquidity
|
|
|
position.assetProfile.assetClass !== AssetClass.LIQUIDITY && |
|
|
|
|
|
position.assetProfile.assetSubClass !== AssetClass.COMMODITY |
|
|
|
|
|
) { |
|
|
|
|
|
// Prepare analysis data by continents, countries, holdings and sectors except for liquidity and commodity
|
|
|
|
|
|
|
|
|
if (position.assetProfile.countries.length > 0) { |
|
|
if (position.assetProfile.countries.length > 0) { |
|
|
for (const country of position.assetProfile.countries) { |
|
|
for (const country of position.assetProfile.countries) { |
|
|
|