Browse Source

Merge branch 'main' into feature/migrate-from-angular-material-design-2-to-3

pull/6182/head^2
Thomas Kaul 1 week ago
parent
commit
4b5eba327b
  1. 46
      CHANGELOG.md
  2. 41
      README.md
  3. 4
      apps/api/src/app/endpoints/platforms/platforms.controller.ts
  4. 6
      apps/api/src/app/import/import.service.ts
  5. 7
      apps/api/src/app/info/info.service.ts
  6. 49
      apps/api/src/app/order/order.service.ts
  7. 52
      apps/api/src/app/portfolio/calculator/portfolio-calculator.ts
  8. 2
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-baln-buy-and-buy.spec.ts
  9. 3
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-baln-buy-and-sell-in-two-activities.spec.ts
  10. 2
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-baln-buy-and-sell.spec.ts
  11. 3
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-baln-buy.spec.ts
  12. 1
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-btceur-in-base-currency-eur.spec.ts
  13. 1
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-btceur.spec.ts
  14. 2
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-btcusd-buy-and-sell-partially.spec.ts
  15. 1
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-btcusd-short.spec.ts
  16. 1
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-btcusd.spec.ts
  17. 148
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-cash.spec.ts
  18. 1
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-fee.spec.ts
  19. 1
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-googl-buy.spec.ts
  20. 1
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-liability.spec.ts
  21. 7
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-msft-buy-and-sell.spec.ts
  22. 2
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-msft-buy-with-dividend.spec.ts
  23. 1
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-novn-buy-and-sell-partially.spec.ts
  24. 1
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-novn-buy-and-sell.spec.ts
  25. 3
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-valuable.spec.ts
  26. 32
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator.ts
  27. 1
      apps/api/src/app/portfolio/interfaces/portfolio-order-item.interface.ts
  28. 1
      apps/api/src/app/portfolio/interfaces/portfolio-order.interface.ts
  29. 1
      apps/api/src/app/portfolio/interfaces/transaction-point-symbol.interface.ts
  30. 10
      apps/api/src/app/portfolio/portfolio.service.ts
  31. 152
      apps/api/src/assets/cryptocurrencies/cryptocurrencies.json
  32. 6
      apps/api/src/services/exchange-rate-data/exchange-rate-data.service.mock.ts
  33. 3
      apps/api/src/services/queues/portfolio-snapshot/portfolio-snapshot.processor.ts
  34. 15
      apps/client/project.json
  35. 15
      apps/client/src/app/components/footer/footer.component.html
  36. 14
      apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.ts
  37. 4
      apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html
  38. 1
      apps/client/src/app/components/user-account-settings/user-account-settings.component.ts
  39. 13
      apps/client/src/app/components/user-account-settings/user-account-settings.html
  40. 5
      apps/client/src/app/pages/features/features-page.html
  41. 11
      apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts
  42. 64
      apps/client/src/app/pages/portfolio/analysis/analysis-page.html
  43. 1
      apps/client/src/app/pages/pricing/pricing-page.component.ts
  44. 5
      apps/client/src/app/pages/resources/personal-finance-tools/product-page.component.ts
  45. 330
      apps/client/src/locales/messages.ca.xlf
  46. 330
      apps/client/src/locales/messages.de.xlf
  47. 330
      apps/client/src/locales/messages.es.xlf
  48. 330
      apps/client/src/locales/messages.fr.xlf
  49. 330
      apps/client/src/locales/messages.it.xlf
  50. 8737
      apps/client/src/locales/messages.ko.xlf
  51. 330
      apps/client/src/locales/messages.nl.xlf
  52. 330
      apps/client/src/locales/messages.pl.xlf
  53. 330
      apps/client/src/locales/messages.pt.xlf
  54. 330
      apps/client/src/locales/messages.tr.xlf
  55. 330
      apps/client/src/locales/messages.uk.xlf
  56. 327
      apps/client/src/locales/messages.xlf
  57. 330
      apps/client/src/locales/messages.zh.xlf
  58. 1
      libs/common/src/lib/config.ts
  59. 28
      libs/common/src/lib/helper.ts
  60. 6
      libs/common/src/lib/interfaces/info-item.interface.ts
  61. 8
      libs/common/src/lib/interfaces/responses/portfolio-holding-response.interface.ts
  62. 2
      libs/common/src/lib/models/timeline-position.ts
  63. 9
      libs/ui/src/lib/accounts-table/accounts-table.component.html
  64. 6
      libs/ui/src/lib/accounts-table/accounts-table.component.ts
  65. 11
      libs/ui/src/lib/benchmark/benchmark.component.ts
  66. 7
      libs/ui/src/lib/holdings-table/holdings-table.component.html
  67. 4
      libs/ui/src/lib/holdings-table/holdings-table.component.ts
  68. 19
      libs/ui/src/lib/services/data.service.ts
  69. 20
      package-lock.json
  70. 6
      package.json

46
CHANGELOG.md

@ -13,16 +13,62 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased ## Unreleased
### Added
- Extended the analysis page to include the total amount, change and performance with currency effects
### Changed
- Deprecated `firstBuyDate` in favor of `dateOfFirstActivity` in the endpoint `GET api/v1/portfolio/holding/:dataSource/:symbol`
- Improved the language localization for German (`de`)
- Upgraded `countries-list` from version `3.2.0` to `3.2.2`
## 2.231.0 - 2026-01-17
### Changed
- Removed the deprecated platforms from the info service
- Removed the deprecated activities from the endpoint `GET api/v1/portfolio/holding/:dataSource/:symbol`
### Fixed
- Fixed a numeric parsing error related to cash positions on the _X-ray_ page
- Fixed the total fee calculation in the holding detail dialog related to activities in a custom currency
- Fixed the total fee calculation in the summary related to activities in a custom currency
## 2.230.0 - 2026-01-14
### Added
- Set up the language localization for Korean (`ko`)
### Changed ### Changed
- Restored the support for specific calendar year date ranges (`2024`, `2023`, `2022`, etc.) in the holdings table (experimental)
### Fixed
- Fixed the total fee calculation in the holding detail dialog related to activities in a custom currency
- Fixed the total fee calculation in the summary related to activities in a custom currency
## 2.229.0 - 2026-01-11
### Changed
- Set the active sort column in the accounts table component
- Deprecated `activities` in the endpoint `GET api/v1/portfolio/holding/:dataSource/:symbol` - Deprecated `activities` in the endpoint `GET api/v1/portfolio/holding/:dataSource/:symbol`
- Moved the admin service to `@ghostfolio/ui/services` - Moved the admin service to `@ghostfolio/ui/services`
- Moved the data service to `@ghostfolio/ui/services` - Moved the data service to `@ghostfolio/ui/services`
- Refactored the dividend import - Refactored the dividend import
- Refreshed the cryptocurrencies list
### Fixed ### Fixed
- Fixed the net worth calculation to prevent the double counting of cash positions
- Fixed the filtering by asset class in the endpoint `GET api/v1/portfolio/holdings` - Fixed the filtering by asset class in the endpoint `GET api/v1/portfolio/holdings`
- Fixed the case-insensitive sorting in the accounts table component
- Fixed the case-insensitive sorting in the benchmark component
- Fixed the case-insensitive sorting in the holdings table component
## 2.228.0 - 2026-01-03 ## 2.228.0 - 2026-01-03

41
README.md

@ -85,31 +85,32 @@ We provide official container images hosted on [Docker Hub](https://hub.docker.c
### Supported Environment Variables ### Supported Environment Variables
| Name | Type | Default Value | Description | | Name | Type | Default Value | Description |
| ------------------------ | --------------------- | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | | --------------------------- | --------------------- | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| `ACCESS_TOKEN_SALT` | `string` | | A random string used as salt for access tokens | | `ACCESS_TOKEN_SALT` | `string` | | A random string used as salt for access tokens |
| `API_KEY_COINGECKO_DEMO` | `string` (optional) |   | The _CoinGecko_ Demo API key | | `API_KEY_COINGECKO_DEMO` | `string` (optional) |   | The _CoinGecko_ Demo API key |
| `API_KEY_COINGECKO_PRO` | `string` (optional) | | The _CoinGecko_ Pro API key | | `API_KEY_COINGECKO_PRO` | `string` (optional) | | The _CoinGecko_ Pro API key |
| `DATABASE_URL` | `string` | | The database connection URL, e.g. `postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:5432/${POSTGRES_DB}?sslmode=prefer` | | `DATABASE_URL` | `string` | | The database connection URL, e.g. `postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:5432/${POSTGRES_DB}?sslmode=prefer` |
| `HOST` | `string` (optional) | `0.0.0.0` | The host where the Ghostfolio application will run on | | `ENABLE_FEATURE_AUTH_TOKEN` | `boolean` (optional) | `true` | Enables authentication via security token |
| `JWT_SECRET_KEY` | `string` | | A random string used for _JSON Web Tokens_ (JWT) | | `HOST` | `string` (optional) | `0.0.0.0` | The host where the Ghostfolio application will run on |
| `LOG_LEVELS` | `string[]` (optional) | | The logging levels for the Ghostfolio application, e.g. `["debug","error","log","warn"]` | | `JWT_SECRET_KEY` | `string` | | A random string used for _JSON Web Tokens_ (JWT) |
| `PORT` | `number` (optional) | `3333` | The port where the Ghostfolio application will run on | | `LOG_LEVELS` | `string[]` (optional) | | The logging levels for the Ghostfolio application, e.g. `["debug","error","log","warn"]` |
| `POSTGRES_DB` | `string` | | The name of the _PostgreSQL_ database | | `PORT` | `number` (optional) | `3333` | The port where the Ghostfolio application will run on |
| `POSTGRES_PASSWORD` | `string` | | The password of the _PostgreSQL_ database | | `POSTGRES_DB` | `string` | | The name of the _PostgreSQL_ database |
| `POSTGRES_USER` | `string` | | The user of the _PostgreSQL_ database | | `POSTGRES_PASSWORD` | `string` | | The password of the _PostgreSQL_ database |
| `REDIS_DB` | `number` (optional) | `0` | The database index of _Redis_ | | `POSTGRES_USER` | `string` | | The user of the _PostgreSQL_ database |
| `REDIS_HOST` | `string` | | The host where _Redis_ is running | | `REDIS_DB` | `number` (optional) | `0` | The database index of _Redis_ |
| `REDIS_PASSWORD` | `string` | | The password of _Redis_ | | `REDIS_HOST` | `string` | | The host where _Redis_ is running |
| `REDIS_PORT` | `number` | | The port where _Redis_ is running | | `REDIS_PASSWORD` | `string` | | The password of _Redis_ |
| `REQUEST_TIMEOUT` | `number` (optional) | `2000` | The timeout of network requests to data providers in milliseconds | | `REDIS_PORT` | `number` | | The port where _Redis_ is running |
| `ROOT_URL` | `string` (optional) | `http://0.0.0.0:3333` | The root URL of the Ghostfolio application, used for generating callback URLs and external links. | | `REQUEST_TIMEOUT` | `number` (optional) | `2000` | The timeout of network requests to data providers in milliseconds |
| `ROOT_URL` | `string` (optional) | `http://0.0.0.0:3333` | The root URL of the Ghostfolio application, used for generating callback URLs and external links. |
#### OpenID Connect OIDC (Experimental) #### OpenID Connect OIDC (Experimental)
| Name | Type | Default Value | Description | | Name | Type | Default Value | Description |
| -------------------------- | --------------------- | ------------------------------------ | ---------------------------------------------------------------------------------------------------- | | -------------------------- | --------------------- | ------------------------------------ | ---------------------------------------------------------------------------------------------------- |
| `ENABLE_FEATURE_AUTH_OIDC` | `boolean` (optional) | `false` | Enables _OpenID Connect_ authentication | | `ENABLE_FEATURE_AUTH_OIDC` | `boolean` (optional) | `false` | Enables authentication via _OpenID Connect_ |
| `OIDC_AUTHORIZATION_URL` | `string` (optional) | | Manual override for the OIDC authorization endpoint (falls back to the discovery from the issuer) | | `OIDC_AUTHORIZATION_URL` | `string` (optional) | | Manual override for the OIDC authorization endpoint (falls back to the discovery from the issuer) |
| `OIDC_CALLBACK_URL` | `string` (optional) | `${ROOT_URL}/api/auth/oidc/callback` | The OIDC callback URL | | `OIDC_CALLBACK_URL` | `string` (optional) | `${ROOT_URL}/api/auth/oidc/callback` | The OIDC callback URL |
| `OIDC_CLIENT_ID` | `string` | | The OIDC client ID | | `OIDC_CLIENT_ID` | `string` | | The OIDC client ID |

4
apps/api/src/app/endpoints/platforms/platforms.controller.ts

@ -15,7 +15,9 @@ export class PlatformsController {
@HasPermission(permissions.readPlatforms) @HasPermission(permissions.readPlatforms)
@UseGuards(AuthGuard('jwt'), HasPermissionGuard) @UseGuards(AuthGuard('jwt'), HasPermissionGuard)
public async getPlatforms(): Promise<PlatformsResponse> { public async getPlatforms(): Promise<PlatformsResponse> {
const platforms = await this.platformService.getPlatforms(); const platforms = await this.platformService.getPlatforms({
orderBy: { name: 'asc' }
});
return { platforms }; return { platforms };
} }

6
apps/api/src/app/import/import.service.ts

@ -82,7 +82,7 @@ export class ImportService {
filterBySymbol: symbol filterBySymbol: symbol
}); });
const { firstBuyDate, historicalData } = holding; const { dateOfFirstActivity, historicalData } = holding;
const [{ accounts }, { activities }, [assetProfile], dividends] = const [{ accounts }, { activities }, [assetProfile], dividends] =
await Promise.all([ await Promise.all([
@ -95,7 +95,7 @@ export class ImportService {
filters, filters,
userCurrency, userCurrency,
userId, userId,
startDate: parseDate(firstBuyDate) startDate: parseDate(dateOfFirstActivity)
}), }),
this.symbolProfileService.getSymbolProfiles([ this.symbolProfileService.getSymbolProfiles([
{ {
@ -106,7 +106,7 @@ export class ImportService {
await this.dataProviderService.getDividends({ await this.dataProviderService.getDividends({
dataSource, dataSource,
symbol, symbol,
from: parseDate(firstBuyDate), from: parseDate(dateOfFirstActivity),
granularity: 'day', granularity: 'day',
to: new Date() to: new Date()
}) })

7
apps/api/src/app/info/info.service.ts

@ -1,4 +1,3 @@
import { PlatformService } from '@ghostfolio/api/app/platform/platform.service';
import { RedisCacheService } from '@ghostfolio/api/app/redis-cache/redis-cache.service'; import { RedisCacheService } from '@ghostfolio/api/app/redis-cache/redis-cache.service';
import { SubscriptionService } from '@ghostfolio/api/app/subscription/subscription.service'; import { SubscriptionService } from '@ghostfolio/api/app/subscription/subscription.service';
import { UserService } from '@ghostfolio/api/app/user/user.service'; import { UserService } from '@ghostfolio/api/app/user/user.service';
@ -38,7 +37,6 @@ export class InfoService {
private readonly configurationService: ConfigurationService, private readonly configurationService: ConfigurationService,
private readonly exchangeRateDataService: ExchangeRateDataService, private readonly exchangeRateDataService: ExchangeRateDataService,
private readonly jwtService: JwtService, private readonly jwtService: JwtService,
private readonly platformService: PlatformService,
private readonly propertyService: PropertyService, private readonly propertyService: PropertyService,
private readonly redisCacheService: RedisCacheService, private readonly redisCacheService: RedisCacheService,
private readonly subscriptionService: SubscriptionService, private readonly subscriptionService: SubscriptionService,
@ -103,16 +101,12 @@ export class InfoService {
benchmarks, benchmarks,
demoAuthToken, demoAuthToken,
isUserSignupEnabled, isUserSignupEnabled,
platforms,
statistics, statistics,
subscriptionOffer subscriptionOffer
] = await Promise.all([ ] = await Promise.all([
this.benchmarkService.getBenchmarkAssetProfiles(), this.benchmarkService.getBenchmarkAssetProfiles(),
this.getDemoAuthToken(), this.getDemoAuthToken(),
this.propertyService.isUserSignupEnabled(), this.propertyService.isUserSignupEnabled(),
this.platformService.getPlatforms({
orderBy: { name: 'asc' }
}),
this.getStatistics(), this.getStatistics(),
this.subscriptionService.getSubscriptionOffer({ key: 'default' }) this.subscriptionService.getSubscriptionOffer({ key: 'default' })
]); ]);
@ -127,7 +121,6 @@ export class InfoService {
demoAuthToken, demoAuthToken,
globalPermissions, globalPermissions,
isReadOnlyMode, isReadOnlyMode,
platforms,
statistics, statistics,
subscriptionOffer, subscriptionOffer,
baseCurrency: DEFAULT_CURRENCY, baseCurrency: DEFAULT_CURRENCY,

49
apps/api/src/app/order/order.service.ts

@ -743,47 +743,50 @@ export class OrderService {
/** /**
* Retrieves all orders required for the portfolio calculator, including both standard asset orders * Retrieves all orders required for the portfolio calculator, including both standard asset orders
* and synthetic orders representing cash activities. * and optional synthetic orders representing cash activities.
*
* @param filters - Optional filters to apply to the orders.
* @param userCurrency - The base currency of the user.
* @param userId - The ID of the user.
* @returns An object containing the combined list of activities and the total count.
*/ */
@LogPerformance @LogPerformance
public async getOrdersForPortfolioCalculator({ public async getOrdersForPortfolioCalculator({
filters, filters,
userCurrency, userCurrency,
userId userId,
withCash = false
}: { }: {
/** Optional filters to apply to the orders. */
filters?: Filter[]; filters?: Filter[];
/** The base currency of the user. */
userCurrency: string; userCurrency: string;
/** The ID of the user. */
userId: string; userId: string;
/** Whether to include cash activities in the result. */
withCash?: boolean;
}) { }) {
const nonCashOrders = await this.getOrders({ const orders = await this.getOrders({
filters, filters,
userCurrency, userCurrency,
userId, userId,
withExcludedAccountsAndActivities: false // TODO withExcludedAccountsAndActivities: false // TODO
}); });
const cashDetails = await this.accountService.getCashDetails({ if (withCash) {
filters, const cashDetails = await this.accountService.getCashDetails({
userId, filters,
currency: userCurrency userId,
}); currency: userCurrency
});
const cashOrders = await this.getCashOrders({ const cashOrders = await this.getCashOrders({
cashDetails, cashDetails,
filters, filters,
userCurrency, userCurrency,
userId userId
}); });
return { orders.activities.push(...cashOrders.activities);
activities: [...nonCashOrders.activities, ...cashOrders.activities], orders.count += cashOrders.count;
count: nonCashOrders.count + cashOrders.count }
};
return orders;
} }
public async getStatisticsByCurrency( public async getStatisticsByCurrency(

52
apps/api/src/app/portfolio/calculator/portfolio-calculator.ts

@ -39,6 +39,7 @@ import { GroupBy } from '@ghostfolio/common/types';
import { PerformanceCalculationType } from '@ghostfolio/common/types/performance-calculation-type.type'; import { PerformanceCalculationType } from '@ghostfolio/common/types/performance-calculation-type.type';
import { Logger } from '@nestjs/common'; import { Logger } from '@nestjs/common';
import { AssetSubClass } from '@prisma/client';
import { Big } from 'big.js'; import { Big } from 'big.js';
import { plainToClass } from 'class-transformer'; import { plainToClass } from 'class-transformer';
import { import {
@ -119,6 +120,7 @@ export abstract class PortfolioCalculator {
({ ({
date, date,
feeInAssetProfileCurrency, feeInAssetProfileCurrency,
feeInBaseCurrency,
quantity, quantity,
SymbolProfile, SymbolProfile,
tags = [], tags = [],
@ -141,6 +143,7 @@ export abstract class PortfolioCalculator {
type, type,
date: format(date, DATE_FORMAT), date: format(date, DATE_FORMAT),
fee: new Big(feeInAssetProfileCurrency), fee: new Big(feeInAssetProfileCurrency),
feeInBaseCurrency: new Big(feeInBaseCurrency),
quantity: new Big(quantity), quantity: new Big(quantity),
unitPrice: new Big(unitPriceInAssetProfileCurrency) unitPrice: new Big(unitPriceInAssetProfileCurrency)
}; };
@ -335,12 +338,6 @@ export abstract class PortfolioCalculator {
} = {}; } = {};
for (const item of lastTransactionPoint.items) { for (const item of lastTransactionPoint.items) {
const feeInBaseCurrency = item.fee.mul(
exchangeRatesByCurrency[`${item.currency}${this.currency}`]?.[
lastTransactionPoint.date
] ?? 1
);
const marketPriceInBaseCurrency = ( const marketPriceInBaseCurrency = (
marketSymbolMap[endDateString]?.[item.symbol] ?? item.averagePrice marketSymbolMap[endDateString]?.[item.symbol] ?? item.averagePrice
).mul( ).mul(
@ -389,28 +386,34 @@ export abstract class PortfolioCalculator {
hasAnySymbolMetricsErrors = hasAnySymbolMetricsErrors || hasErrors; hasAnySymbolMetricsErrors = hasAnySymbolMetricsErrors || hasErrors;
valuesBySymbol[item.symbol] = { const includeInTotalAssetValue =
currentValues, item.assetSubClass !== AssetSubClass.CASH;
currentValuesWithCurrencyEffect,
investmentValuesAccumulated, if (includeInTotalAssetValue) {
investmentValuesAccumulatedWithCurrencyEffect, valuesBySymbol[item.symbol] = {
investmentValuesWithCurrencyEffect, currentValues,
netPerformanceValues, currentValuesWithCurrencyEffect,
netPerformanceValuesWithCurrencyEffect, investmentValuesAccumulated,
timeWeightedInvestmentValues, investmentValuesAccumulatedWithCurrencyEffect,
timeWeightedInvestmentValuesWithCurrencyEffect investmentValuesWithCurrencyEffect,
}; netPerformanceValues,
netPerformanceValuesWithCurrencyEffect,
timeWeightedInvestmentValues,
timeWeightedInvestmentValuesWithCurrencyEffect
};
}
positions.push({ positions.push({
feeInBaseCurrency, includeInTotalAssetValue,
timeWeightedInvestment, timeWeightedInvestment,
timeWeightedInvestmentWithCurrencyEffect, timeWeightedInvestmentWithCurrencyEffect,
dividend: totalDividend,
dividendInBaseCurrency: totalDividendInBaseCurrency,
averagePrice: item.averagePrice, averagePrice: item.averagePrice,
currency: item.currency, currency: item.currency,
dataSource: item.dataSource, dataSource: item.dataSource,
dividend: totalDividend,
dividendInBaseCurrency: totalDividendInBaseCurrency,
fee: item.fee, fee: item.fee,
feeInBaseCurrency: item.feeInBaseCurrency,
firstBuyDate: item.firstBuyDate, firstBuyDate: item.firstBuyDate,
grossPerformance: !hasErrors ? (grossPerformance ?? null) : null, grossPerformance: !hasErrors ? (grossPerformance ?? null) : null,
grossPerformancePercentage: !hasErrors grossPerformancePercentage: !hasErrors
@ -426,9 +429,8 @@ export abstract class PortfolioCalculator {
investment: totalInvestment, investment: totalInvestment,
investmentWithCurrencyEffect: totalInvestmentWithCurrencyEffect, investmentWithCurrencyEffect: totalInvestmentWithCurrencyEffect,
marketPrice: marketPrice:
marketSymbolMap[endDateString]?.[item.symbol]?.toNumber() ?? null, marketSymbolMap[endDateString]?.[item.symbol]?.toNumber() ?? 1,
marketPriceInBaseCurrency: marketPriceInBaseCurrency: marketPriceInBaseCurrency?.toNumber() ?? 1,
marketPriceInBaseCurrency?.toNumber() ?? null,
netPerformance: !hasErrors ? (netPerformance ?? null) : null, netPerformance: !hasErrors ? (netPerformance ?? null) : null,
netPerformancePercentage: !hasErrors netPerformancePercentage: !hasErrors
? (netPerformancePercentage ?? null) ? (netPerformancePercentage ?? null)
@ -931,6 +933,7 @@ export abstract class PortfolioCalculator {
for (const { for (const {
date, date,
fee, fee,
feeInBaseCurrency,
quantity, quantity,
SymbolProfile, SymbolProfile,
tags, tags,
@ -995,6 +998,8 @@ export abstract class PortfolioCalculator {
: investment.div(newQuantity).abs(), : investment.div(newQuantity).abs(),
dividend: new Big(0), dividend: new Big(0),
fee: oldAccumulatedSymbol.fee.plus(fee), fee: oldAccumulatedSymbol.fee.plus(fee),
feeInBaseCurrency:
oldAccumulatedSymbol.feeInBaseCurrency.plus(feeInBaseCurrency),
firstBuyDate: oldAccumulatedSymbol.firstBuyDate, firstBuyDate: oldAccumulatedSymbol.firstBuyDate,
includeInHoldings: oldAccumulatedSymbol.includeInHoldings, includeInHoldings: oldAccumulatedSymbol.includeInHoldings,
quantity: newQuantity, quantity: newQuantity,
@ -1007,6 +1012,7 @@ export abstract class PortfolioCalculator {
currency, currency,
dataSource, dataSource,
fee, fee,
feeInBaseCurrency,
skipErrors, skipErrors,
symbol, symbol,
tags, tags,

2
apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-baln-buy-and-buy.spec.ts

@ -87,6 +87,7 @@ describe('PortfolioCalculator', () => {
...activityDummyData, ...activityDummyData,
date: new Date('2021-11-22'), date: new Date('2021-11-22'),
feeInAssetProfileCurrency: 1.55, feeInAssetProfileCurrency: 1.55,
feeInBaseCurrency: 1.55,
quantity: 2, quantity: 2,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,
@ -102,6 +103,7 @@ describe('PortfolioCalculator', () => {
...activityDummyData, ...activityDummyData,
date: new Date('2021-11-30'), date: new Date('2021-11-30'),
feeInAssetProfileCurrency: 1.65, feeInAssetProfileCurrency: 1.65,
feeInBaseCurrency: 1.65,
quantity: 2, quantity: 2,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,

3
apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-baln-buy-and-sell-in-two-activities.spec.ts

@ -87,6 +87,7 @@ describe('PortfolioCalculator', () => {
...activityDummyData, ...activityDummyData,
date: new Date('2021-11-22'), date: new Date('2021-11-22'),
feeInAssetProfileCurrency: 1.55, feeInAssetProfileCurrency: 1.55,
feeInBaseCurrency: 1.55,
quantity: 2, quantity: 2,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,
@ -102,6 +103,7 @@ describe('PortfolioCalculator', () => {
...activityDummyData, ...activityDummyData,
date: new Date('2021-11-30'), date: new Date('2021-11-30'),
feeInAssetProfileCurrency: 1.65, feeInAssetProfileCurrency: 1.65,
feeInBaseCurrency: 1.65,
quantity: 1, quantity: 1,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,
@ -117,6 +119,7 @@ describe('PortfolioCalculator', () => {
...activityDummyData, ...activityDummyData,
date: new Date('2021-11-30'), date: new Date('2021-11-30'),
feeInAssetProfileCurrency: 0, feeInAssetProfileCurrency: 0,
feeInBaseCurrency: 0,
quantity: 1, quantity: 1,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,

2
apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-baln-buy-and-sell.spec.ts

@ -87,6 +87,7 @@ describe('PortfolioCalculator', () => {
...activityDummyData, ...activityDummyData,
date: new Date('2021-11-22'), date: new Date('2021-11-22'),
feeInAssetProfileCurrency: 1.55, feeInAssetProfileCurrency: 1.55,
feeInBaseCurrency: 1.55,
quantity: 2, quantity: 2,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,
@ -102,6 +103,7 @@ describe('PortfolioCalculator', () => {
...activityDummyData, ...activityDummyData,
date: new Date('2021-11-30'), date: new Date('2021-11-30'),
feeInAssetProfileCurrency: 1.65, feeInAssetProfileCurrency: 1.65,
feeInBaseCurrency: 1.65,
quantity: 2, quantity: 2,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,

3
apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-baln-buy.spec.ts

@ -87,6 +87,7 @@ describe('PortfolioCalculator', () => {
...activityDummyData, ...activityDummyData,
date: new Date('2021-11-30'), date: new Date('2021-11-30'),
feeInAssetProfileCurrency: 1.55, feeInAssetProfileCurrency: 1.55,
feeInBaseCurrency: 1.55,
quantity: 2, quantity: 2,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,
@ -208,6 +209,7 @@ describe('PortfolioCalculator', () => {
...activityDummyData, ...activityDummyData,
date: new Date('2021-11-30'), date: new Date('2021-11-30'),
feeInAssetProfileCurrency: 1.55, feeInAssetProfileCurrency: 1.55,
feeInBaseCurrency: 1.55,
quantity: 2, quantity: 2,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,
@ -247,6 +249,7 @@ describe('PortfolioCalculator', () => {
...activityDummyData, ...activityDummyData,
date: new Date('2021-11-30'), date: new Date('2021-11-30'),
feeInAssetProfileCurrency: 1.55, feeInAssetProfileCurrency: 1.55,
feeInBaseCurrency: 1.55,
quantity: 2, quantity: 2,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,

1
apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-btceur-in-base-currency-eur.spec.ts

@ -110,6 +110,7 @@ describe('PortfolioCalculator', () => {
...activity, ...activity,
date: parseDate(activity.date), date: parseDate(activity.date),
feeInAssetProfileCurrency: 4.46, feeInAssetProfileCurrency: 4.46,
feeInBaseCurrency: 3.94,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,
currency: 'USD', currency: 'USD',

1
apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-btceur.spec.ts

@ -98,6 +98,7 @@ describe('PortfolioCalculator', () => {
...activity, ...activity,
date: parseDate(activity.date), date: parseDate(activity.date),
feeInAssetProfileCurrency: 4.46, feeInAssetProfileCurrency: 4.46,
feeInBaseCurrency: 4.46,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,
currency: 'USD', currency: 'USD',

2
apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-btcusd-buy-and-sell-partially.spec.ts

@ -100,6 +100,7 @@ describe('PortfolioCalculator', () => {
...activityDummyData, ...activityDummyData,
date: new Date('2015-01-01'), date: new Date('2015-01-01'),
feeInAssetProfileCurrency: 0, feeInAssetProfileCurrency: 0,
feeInBaseCurrency: 0,
quantity: 2, quantity: 2,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,
@ -115,6 +116,7 @@ describe('PortfolioCalculator', () => {
...activityDummyData, ...activityDummyData,
date: new Date('2017-12-31'), date: new Date('2017-12-31'),
feeInAssetProfileCurrency: 0, feeInAssetProfileCurrency: 0,
feeInBaseCurrency: 0,
quantity: 1, quantity: 1,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,

1
apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-btcusd-short.spec.ts

@ -98,6 +98,7 @@ describe('PortfolioCalculator', () => {
...activity, ...activity,
date: parseDate(activity.date), date: parseDate(activity.date),
feeInAssetProfileCurrency: activity.fee, feeInAssetProfileCurrency: activity.fee,
feeInBaseCurrency: activity.fee,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,
currency: 'USD', currency: 'USD',

1
apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-btcusd.spec.ts

@ -98,6 +98,7 @@ describe('PortfolioCalculator', () => {
...activity, ...activity,
date: parseDate(activity.date), date: parseDate(activity.date),
feeInAssetProfileCurrency: 4.46, feeInAssetProfileCurrency: 4.46,
feeInBaseCurrency: 4.46,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,
currency: 'USD', currency: 'USD',

148
apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-cash.spec.ts

@ -14,7 +14,7 @@ import { ExchangeRateDataServiceMock } from '@ghostfolio/api/services/exchange-r
import { PortfolioSnapshotService } from '@ghostfolio/api/services/queues/portfolio-snapshot/portfolio-snapshot.service'; import { PortfolioSnapshotService } from '@ghostfolio/api/services/queues/portfolio-snapshot/portfolio-snapshot.service';
import { PortfolioSnapshotServiceMock } from '@ghostfolio/api/services/queues/portfolio-snapshot/portfolio-snapshot.service.mock'; import { PortfolioSnapshotServiceMock } from '@ghostfolio/api/services/queues/portfolio-snapshot/portfolio-snapshot.service.mock';
import { parseDate } from '@ghostfolio/common/helper'; import { parseDate } from '@ghostfolio/common/helper';
import { HistoricalDataItem } from '@ghostfolio/common/interfaces'; import { TimelinePosition } from '@ghostfolio/common/models';
import { PerformanceCalculationType } from '@ghostfolio/common/types/performance-calculation-type.type'; import { PerformanceCalculationType } from '@ghostfolio/common/types/performance-calculation-type.type';
import { DataSource } from '@prisma/client'; import { DataSource } from '@prisma/client';
@ -191,7 +191,8 @@ describe('PortfolioCalculator', () => {
const { activities } = await orderService.getOrdersForPortfolioCalculator( const { activities } = await orderService.getOrdersForPortfolioCalculator(
{ {
userCurrency: 'CHF', userCurrency: 'CHF',
userId: userDummyData.id userId: userDummyData.id,
withCash: true
} }
); );
@ -201,7 +202,14 @@ describe('PortfolioCalculator', () => {
values: [] values: []
}); });
const accountBalanceItems =
await accountBalanceService.getAccountBalanceItems({
userCurrency: 'CHF',
userId: userDummyData.id
});
const portfolioCalculator = portfolioCalculatorFactory.createCalculator({ const portfolioCalculator = portfolioCalculatorFactory.createCalculator({
accountBalanceItems,
activities, activities,
calculationType: PerformanceCalculationType.ROAI, calculationType: PerformanceCalculationType.ROAI,
currency: 'CHF', currency: 'CHF',
@ -210,94 +218,72 @@ describe('PortfolioCalculator', () => {
const portfolioSnapshot = await portfolioCalculator.computeSnapshot(); const portfolioSnapshot = await portfolioCalculator.computeSnapshot();
const historicalData20231231 = portfolioSnapshot.historicalData.find( const position = portfolioSnapshot.positions.find(({ symbol }) => {
({ date }) => { return symbol === 'USD';
return date === '2023-12-31';
}
);
const historicalData20240101 = portfolioSnapshot.historicalData.find(
({ date }) => {
return date === '2024-01-01';
}
);
const historicalData20241231 = portfolioSnapshot.historicalData.find(
({ date }) => {
return date === '2024-12-31';
}
);
/**
* Investment value with currency effect: 1000 USD * 0.85 = 850 CHF
* Total investment: 1000 USD * 0.91 = 910 CHF
* Value (current): 1000 USD * 0.91 = 910 CHF
* Value with currency effect: 1000 USD * 0.85 = 850 CHF
*/
expect(historicalData20231231).toMatchObject({
date: '2023-12-31',
investmentValueWithCurrencyEffect: 850,
netPerformance: 0,
netPerformanceInPercentage: 0,
netPerformanceInPercentageWithCurrencyEffect: 0,
netPerformanceWithCurrencyEffect: 0,
netWorth: 850,
totalAccountBalance: 0,
totalInvestment: 910,
totalInvestmentValueWithCurrencyEffect: 850,
value: 910,
valueWithCurrencyEffect: 850
});
/**
* Net performance with currency effect: (1000 * 0.86) - (1000 * 0.85) = 10 CHF
* Total investment: 1000 USD * 0.91 = 910 CHF
* Total investment value with currency effect: 1000 USD * 0.85 = 850 CHF
* Value (current): 1000 USD * 0.91 = 910 CHF
* Value with currency effect: 1000 USD * 0.86 = 860 CHF
*/
expect(historicalData20240101).toMatchObject({
date: '2024-01-01',
investmentValueWithCurrencyEffect: 0,
netPerformance: 0,
netPerformanceInPercentage: 0,
netPerformanceInPercentageWithCurrencyEffect: 0.011764705882352941,
netPerformanceWithCurrencyEffect: 10,
netWorth: 860,
totalAccountBalance: 0,
totalInvestment: 910,
totalInvestmentValueWithCurrencyEffect: 850,
value: 910,
valueWithCurrencyEffect: 860
}); });
/** /**
* Investment value with currency effect: 1000 USD * 0.90 = 900 CHF * Investment: 2000 USD * 0.91 = 1820 CHF
* Investment value with currency effect: (1000 USD * 0.85) + (1000 USD * 0.90) = 1750 CHF
* Net performance: (1000 USD * 1.0) - (1000 USD * 1.0) = 0 CHF * Net performance: (1000 USD * 1.0) - (1000 USD * 1.0) = 0 CHF
* Net performance with currency effect: (1000 USD * 0.9) - (1000 USD * 0.85) = 50 CHF * Total account balance: 2000 USD * 0.85 = 1700 CHF (using the exchange rate on 2024-12-31)
* Total investment: 2000 USD * 0.91 = 1820 CHF * Value in base currency: 2000 USD * 0.91 = 1820 CHF
* Total investment value with currency effect: (1000 USD * 0.85) + (1000 USD * 0.90) = 1750 CHF
* Value (current): 2000 USD * 0.91 = 1820 CHF
* Value with currency effect: 2000 USD * 0.9 = 1800 CHF
*/ */
expect(historicalData20241231).toMatchObject<HistoricalDataItem>({ expect(position).toMatchObject<TimelinePosition>({
date: '2024-12-31', averagePrice: new Big(1),
investmentValueWithCurrencyEffect: 900, currency: 'USD',
netPerformance: 0, dataSource: DataSource.YAHOO,
netPerformanceInPercentage: 0, dividend: new Big(0),
netPerformanceInPercentageWithCurrencyEffect: 0.058823529411764705, dividendInBaseCurrency: new Big(0),
netPerformanceWithCurrencyEffect: 50, fee: new Big(0),
netWorth: 1800, feeInBaseCurrency: new Big(0),
totalAccountBalance: 0, firstBuyDate: '2023-12-31',
totalInvestment: 1820, grossPerformance: new Big(0),
totalInvestmentValueWithCurrencyEffect: 1750, grossPerformancePercentage: new Big(0),
value: 1820, grossPerformancePercentageWithCurrencyEffect: new Big(
valueWithCurrencyEffect: 1800 '0.08211603004634809014'
),
grossPerformanceWithCurrencyEffect: new Big(70),
includeInTotalAssetValue: false,
investment: new Big(1820),
investmentWithCurrencyEffect: new Big(1750),
marketPrice: 1,
marketPriceInBaseCurrency: 0.91,
netPerformance: new Big(0),
netPerformancePercentage: new Big(0),
netPerformancePercentageWithCurrencyEffectMap: {
'1d': new Big('0.01111111111111111111'),
'1y': new Big('0.06937181021989792704'),
'5y': new Big('0.0818817546090273363'),
max: new Big('0.0818817546090273363'),
mtd: new Big('0.01111111111111111111'),
wtd: new Big('-0.05517241379310344828'),
ytd: new Big('0.01111111111111111111')
},
netPerformanceWithCurrencyEffectMap: {
'1d': new Big(20),
'1y': new Big(60),
'5y': new Big(70),
max: new Big(70),
mtd: new Big(20),
wtd: new Big(-80),
ytd: new Big(20)
},
quantity: new Big(2000),
symbol: 'USD',
timeWeightedInvestment: new Big('912.47956403269754768392'),
timeWeightedInvestmentWithCurrencyEffect: new Big(
'852.45231607629427792916'
),
transactionCount: 2,
valueInBaseCurrency: new Big(1820)
}); });
expect(portfolioSnapshot).toMatchObject({ expect(portfolioSnapshot).toMatchObject({
hasErrors: false, hasErrors: false,
totalFeesWithCurrencyEffect: new Big('0'), totalFeesWithCurrencyEffect: new Big(0),
totalInterestWithCurrencyEffect: new Big('0'), totalInterestWithCurrencyEffect: new Big(0),
totalLiabilitiesWithCurrencyEffect: new Big('0') totalLiabilitiesWithCurrencyEffect: new Big(0)
}); });
}); });
}); });

1
apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-fee.spec.ts

@ -87,6 +87,7 @@ describe('PortfolioCalculator', () => {
...activityDummyData, ...activityDummyData,
date: new Date('2021-09-01'), date: new Date('2021-09-01'),
feeInAssetProfileCurrency: 49, feeInAssetProfileCurrency: 49,
feeInBaseCurrency: 49,
quantity: 0, quantity: 0,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,

1
apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-googl-buy.spec.ts

@ -99,6 +99,7 @@ describe('PortfolioCalculator', () => {
...activityDummyData, ...activityDummyData,
date: new Date('2023-01-03'), date: new Date('2023-01-03'),
feeInAssetProfileCurrency: 1, feeInAssetProfileCurrency: 1,
feeInBaseCurrency: 0.9238,
quantity: 1, quantity: 1,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,

1
apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-liability.spec.ts

@ -87,6 +87,7 @@ describe('PortfolioCalculator', () => {
...activityDummyData, ...activityDummyData,
date: new Date('2023-01-01'), // Date in future date: new Date('2023-01-01'), // Date in future
feeInAssetProfileCurrency: 0, feeInAssetProfileCurrency: 0,
feeInBaseCurrency: 0,
quantity: 1, quantity: 1,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,

7
apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-msft-buy-and-sell.spec.ts

@ -80,6 +80,7 @@ describe('PortfolioCalculator', () => {
...activityDummyData, ...activityDummyData,
date: new Date('2024-03-08'), date: new Date('2024-03-08'),
feeInAssetProfileCurrency: 0, feeInAssetProfileCurrency: 0,
feeInBaseCurrency: 0,
quantity: 0.3333333333333333, quantity: 0.3333333333333333,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,
@ -94,8 +95,9 @@ describe('PortfolioCalculator', () => {
{ {
...activityDummyData, ...activityDummyData,
date: new Date('2024-03-13'), date: new Date('2024-03-13'),
quantity: 0.6666666666666666,
feeInAssetProfileCurrency: 0, feeInAssetProfileCurrency: 0,
feeInBaseCurrency: 0,
quantity: 0.6666666666666666,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,
currency: 'USD', currency: 'USD',
@ -109,8 +111,9 @@ describe('PortfolioCalculator', () => {
{ {
...activityDummyData, ...activityDummyData,
date: new Date('2024-03-14'), date: new Date('2024-03-14'),
quantity: 1,
feeInAssetProfileCurrency: 0, feeInAssetProfileCurrency: 0,
feeInBaseCurrency: 0,
quantity: 1,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,
currency: 'USD', currency: 'USD',

2
apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-msft-buy-with-dividend.spec.ts

@ -87,6 +87,7 @@ describe('PortfolioCalculator', () => {
...activityDummyData, ...activityDummyData,
date: new Date('2021-09-16'), date: new Date('2021-09-16'),
feeInAssetProfileCurrency: 19, feeInAssetProfileCurrency: 19,
feeInBaseCurrency: 19,
quantity: 1, quantity: 1,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,
@ -102,6 +103,7 @@ describe('PortfolioCalculator', () => {
...activityDummyData, ...activityDummyData,
date: new Date('2021-11-16'), date: new Date('2021-11-16'),
feeInAssetProfileCurrency: 0, feeInAssetProfileCurrency: 0,
feeInBaseCurrency: 0,
quantity: 1, quantity: 1,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,

1
apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-novn-buy-and-sell-partially.spec.ts

@ -101,6 +101,7 @@ describe('PortfolioCalculator', () => {
...activity, ...activity,
date: parseDate(activity.date), date: parseDate(activity.date),
feeInAssetProfileCurrency: activity.fee, feeInAssetProfileCurrency: activity.fee,
feeInBaseCurrency: activity.fee,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,
currency: activity.currency, currency: activity.currency,

1
apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-novn-buy-and-sell.spec.ts

@ -101,6 +101,7 @@ describe('PortfolioCalculator', () => {
...activity, ...activity,
date: parseDate(activity.date), date: parseDate(activity.date),
feeInAssetProfileCurrency: activity.fee, feeInAssetProfileCurrency: activity.fee,
feeInBaseCurrency: activity.fee,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,
currency: activity.currency, currency: activity.currency,

3
apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-valuable.spec.ts

@ -87,6 +87,7 @@ describe('PortfolioCalculator', () => {
...activityDummyData, ...activityDummyData,
date: new Date('2022-01-01'), date: new Date('2022-01-01'),
feeInAssetProfileCurrency: 0, feeInAssetProfileCurrency: 0,
feeInBaseCurrency: 0,
quantity: 1, quantity: 1,
SymbolProfile: { SymbolProfile: {
...symbolProfileDummyData, ...symbolProfileDummyData,
@ -129,7 +130,7 @@ describe('PortfolioCalculator', () => {
grossPerformanceWithCurrencyEffect: new Big('0'), grossPerformanceWithCurrencyEffect: new Big('0'),
investment: new Big('500000'), investment: new Big('500000'),
investmentWithCurrencyEffect: new Big('500000'), investmentWithCurrencyEffect: new Big('500000'),
marketPrice: null, marketPrice: 1,
marketPriceInBaseCurrency: 500000, marketPriceInBaseCurrency: 500000,
netPerformance: new Big('0'), netPerformance: new Big('0'),
netPerformancePercentage: new Big('0'), netPerformancePercentage: new Big('0'),

32
apps/api/src/app/portfolio/calculator/roai/portfolio-calculator.ts

@ -13,7 +13,14 @@ import { PerformanceCalculationType } from '@ghostfolio/common/types/performance
import { Logger } from '@nestjs/common'; import { Logger } from '@nestjs/common';
import { Big } from 'big.js'; import { Big } from 'big.js';
import { addMilliseconds, differenceInDays, format, isBefore } from 'date-fns'; import {
addMilliseconds,
differenceInDays,
eachYearOfInterval,
format,
isBefore,
isThisYear
} from 'date-fns';
import { cloneDeep, sortBy } from 'lodash'; import { cloneDeep, sortBy } from 'lodash';
export class RoaiPortfolioCalculator extends PortfolioCalculator { export class RoaiPortfolioCalculator extends PortfolioCalculator {
@ -34,7 +41,11 @@ export class RoaiPortfolioCalculator extends PortfolioCalculator {
let totalTimeWeightedInvestment = new Big(0); let totalTimeWeightedInvestment = new Big(0);
let totalTimeWeightedInvestmentWithCurrencyEffect = new Big(0); let totalTimeWeightedInvestmentWithCurrencyEffect = new Big(0);
for (const currentPosition of positions) { for (const currentPosition of positions.filter(
({ includeInTotalAssetValue }) => {
return includeInTotalAssetValue;
}
)) {
if (currentPosition.feeInBaseCurrency) { if (currentPosition.feeInBaseCurrency) {
totalFeesWithCurrencyEffect = totalFeesWithCurrencyEffect.plus( totalFeesWithCurrencyEffect = totalFeesWithCurrencyEffect.plus(
currentPosition.feeInBaseCurrency currentPosition.feeInBaseCurrency
@ -833,15 +844,14 @@ export class RoaiPortfolioCalculator extends PortfolioCalculator {
'max', 'max',
'mtd', 'mtd',
'wtd', 'wtd',
'ytd' 'ytd',
// TODO: ...eachYearOfInterval({ end, start })
// ...eachYearOfInterval({ end, start }) .filter((date) => {
// .filter((date) => { return !isThisYear(date);
// return !isThisYear(date); })
// }) .map((date) => {
// .map((date) => { return format(date, 'yyyy');
// return format(date, 'yyyy'); })
// })
] as DateRange[]) { ] as DateRange[]) {
const dateInterval = getIntervalFromDateRange(dateRange); const dateInterval = getIntervalFromDateRange(dateRange);
const endDate = dateInterval.endDate; const endDate = dateInterval.endDate;

1
apps/api/src/app/portfolio/interfaces/portfolio-order-item.interface.ts

@ -3,7 +3,6 @@ import { Big } from 'big.js';
import { PortfolioOrder } from './portfolio-order.interface'; import { PortfolioOrder } from './portfolio-order.interface';
export interface PortfolioOrderItem extends PortfolioOrder { export interface PortfolioOrderItem extends PortfolioOrder {
feeInBaseCurrency?: Big;
feeInBaseCurrencyWithCurrencyEffect?: Big; feeInBaseCurrencyWithCurrencyEffect?: Big;
itemType?: 'end' | 'start'; itemType?: 'end' | 'start';
unitPriceFromMarketData?: Big; unitPriceFromMarketData?: Big;

1
apps/api/src/app/portfolio/interfaces/portfolio-order.interface.ts

@ -3,6 +3,7 @@ import { Activity } from '@ghostfolio/common/interfaces';
export interface PortfolioOrder extends Pick<Activity, 'tags' | 'type'> { export interface PortfolioOrder extends Pick<Activity, 'tags' | 'type'> {
date: string; date: string;
fee: Big; fee: Big;
feeInBaseCurrency: Big;
quantity: Big; quantity: Big;
SymbolProfile: Pick< SymbolProfile: Pick<
Activity['SymbolProfile'], Activity['SymbolProfile'],

1
apps/api/src/app/portfolio/interfaces/transaction-point-symbol.interface.ts

@ -8,6 +8,7 @@ export interface TransactionPointSymbol {
dataSource: DataSource; dataSource: DataSource;
dividend: Big; dividend: Big;
fee: Big; fee: Big;
feeInBaseCurrency: Big;
firstBuyDate: string; firstBuyDate: string;
includeInHoldings: boolean; includeInHoldings: boolean;
investment: Big; investment: Big;

10
apps/api/src/app/portfolio/portfolio.service.ts

@ -792,7 +792,7 @@ export class PortfolioService {
averagePrice, averagePrice,
currency, currency,
dividendInBaseCurrency, dividendInBaseCurrency,
fee, feeInBaseCurrency,
firstBuyDate, firstBuyDate,
grossPerformance, grossPerformance,
grossPerformancePercentage, grossPerformancePercentage,
@ -920,19 +920,15 @@ export class PortfolioService {
marketPriceMin, marketPriceMin,
SymbolProfile, SymbolProfile,
tags, tags,
activities: activitiesOfHolding,
activitiesCount: transactionCount, activitiesCount: transactionCount,
averagePrice: averagePrice.toNumber(), averagePrice: averagePrice.toNumber(),
dataProviderInfo: portfolioCalculator.getDataProviderInfos()?.[0], dataProviderInfo: portfolioCalculator.getDataProviderInfos()?.[0],
dateOfFirstActivity: firstBuyDate,
dividendInBaseCurrency: dividendInBaseCurrency.toNumber(), dividendInBaseCurrency: dividendInBaseCurrency.toNumber(),
dividendYieldPercent: dividendYieldPercent.toNumber(), dividendYieldPercent: dividendYieldPercent.toNumber(),
dividendYieldPercentWithCurrencyEffect: dividendYieldPercentWithCurrencyEffect:
dividendYieldPercentWithCurrencyEffect.toNumber(), dividendYieldPercentWithCurrencyEffect.toNumber(),
feeInBaseCurrency: this.exchangeRateDataService.toCurrency( feeInBaseCurrency: feeInBaseCurrency.toNumber(),
fee.toNumber(),
SymbolProfile.currency,
userCurrency
),
grossPerformance: grossPerformance?.toNumber(), grossPerformance: grossPerformance?.toNumber(),
grossPerformancePercent: grossPerformancePercentage?.toNumber(), grossPerformancePercent: grossPerformancePercentage?.toNumber(),
grossPerformancePercentWithCurrencyEffect: grossPerformancePercentWithCurrencyEffect:

152
apps/api/src/assets/cryptocurrencies/cryptocurrencies.json

@ -22,6 +22,7 @@
"2015": "2015 coin", "2015": "2015 coin",
"2024": "2024", "2024": "2024",
"2025": "2025 TOKEN", "2025": "2025 TOKEN",
"2026": "2026",
"2049": "TOKEN 2049", "2049": "TOKEN 2049",
"2192": "LERNITAS", "2192": "LERNITAS",
"4444": "4444 Meme", "4444": "4444 Meme",
@ -83,6 +84,7 @@
"1UP": "Uptrennd", "1UP": "Uptrennd",
"1WO": "1World", "1WO": "1World",
"2022M": "2022MOON", "2022M": "2022MOON",
"2026MEMECLUB": "2026",
"20EX": "20ex", "20EX": "20ex",
"21BTC": "21.co Wrapped BTC", "21BTC": "21.co Wrapped BTC",
"21X": "21X", "21X": "21X",
@ -177,11 +179,13 @@
"AAI": "AutoAir AI", "AAI": "AutoAir AI",
"AAPLX": "Apple xStock", "AAPLX": "Apple xStock",
"AAPX": "AMPnet", "AAPX": "AMPnet",
"AARBWBTC": "Aave Arbitrum WBTC",
"AARDY": "Baby Aardvark", "AARDY": "Baby Aardvark",
"AARK": "Aark", "AARK": "Aark",
"AART": "ALL.ART", "AART": "ALL.ART",
"AAST": "AASToken", "AAST": "AASToken",
"AAT": "Agricultural Trade Chain", "AAT": "Agricultural Trade Chain",
"AAVAWBTC": "Aave aWBTC",
"AAVE": "Aave", "AAVE": "Aave",
"AAVEE": "AAVE.e (Avalanche Bride)", "AAVEE": "AAVE.e (Avalanche Bride)",
"AAVEGOTCHIFOMO": "Aavegotchi FOMO", "AAVEGOTCHIFOMO": "Aavegotchi FOMO",
@ -295,7 +299,8 @@
"ADEL": "Akropolis Delphi", "ADEL": "Akropolis Delphi",
"ADF": "Art de Finance", "ADF": "Art de Finance",
"ADH": "Adhive", "ADH": "Adhive",
"ADI": "Aditus", "ADI": "ADI",
"ADITUS": "Aditus",
"ADIX": "Adix Token", "ADIX": "Adix Token",
"ADK": "Aidos Kuneen", "ADK": "Aidos Kuneen",
"ADL": "Adel", "ADL": "Adel",
@ -412,6 +417,7 @@
"AGVC": "AgaveCoin", "AGVC": "AgaveCoin",
"AGVE": "Agave", "AGVE": "Agave",
"AGX": "Agricoin", "AGX": "Agricoin",
"AHARWBTC": "Aave Harmony WBTC",
"AHOO": "Ahoolee", "AHOO": "Ahoolee",
"AHT": "AhaToken", "AHT": "AhaToken",
"AI": "Sleepless", "AI": "Sleepless",
@ -626,6 +632,7 @@
"ALITA": "Alita Network", "ALITA": "Alita Network",
"ALITATOKEN": "Alita Token", "ALITATOKEN": "Alita Token",
"ALIX": "AlinX", "ALIX": "AlinX",
"ALK": "Alkemi Network DAO Token",
"ALKI": "Alkimi", "ALKI": "Alkimi",
"ALKIMI": "ALKIMI", "ALKIMI": "ALKIMI",
"ALLBI": "ALL BEST ICO", "ALLBI": "ALL BEST ICO",
@ -639,6 +646,7 @@
"ALMANAK": "Almanak", "ALMANAK": "Almanak",
"ALMC": "Awkward Look Monkey Club", "ALMC": "Awkward Look Monkey Club",
"ALME": "Alita", "ALME": "Alita",
"ALMEELA": "Almeela",
"ALMOND": "Almond", "ALMOND": "Almond",
"ALN": "Aluna", "ALN": "Aluna",
"ALNV1": "Aluna v1", "ALNV1": "Aluna v1",
@ -690,6 +698,7 @@
"AMAL": "AMAL", "AMAL": "AMAL",
"AMAPT": "Amnis Finance", "AMAPT": "Amnis Finance",
"AMATEN": "Amaten", "AMATEN": "Amaten",
"AMATO": "AMATO",
"AMAZINGTEAM": "AmazingTeamDAO", "AMAZINGTEAM": "AmazingTeamDAO",
"AMB": "AirDAO", "AMB": "AirDAO",
"AMBER": "AmberCoin", "AMBER": "AmberCoin",
@ -825,6 +834,7 @@
"AOK": "AOK", "AOK": "AOK",
"AOL": "AOL (America Online)", "AOL": "AOL (America Online)",
"AOP": "Ark Of Panda", "AOP": "Ark Of Panda",
"AOPTWBTC": "Aave Optimism WBTC",
"AOS": "AOS", "AOS": "AOS",
"AOT": "Age of Tanks", "AOT": "Age of Tanks",
"AP": "America Party", "AP": "America Party",
@ -861,6 +871,7 @@
"APOL": "Apollo FTW", "APOL": "Apollo FTW",
"APOLL": "Apollon Limassol", "APOLL": "Apollon Limassol",
"APOLLO": "Apollo Crypto", "APOLLO": "Apollo Crypto",
"APOLWBTC": "Aave Polygon WBTC",
"APP": "Moon App", "APP": "Moon App",
"APPA": "Dappad", "APPA": "Dappad",
"APPC": "AppCoins", "APPC": "AppCoins",
@ -914,6 +925,7 @@
"ARAW": "Araw", "ARAW": "Araw",
"ARB": "Arbitrum", "ARB": "Arbitrum",
"ARBI": "Arbipad", "ARBI": "Arbipad",
"ARBINU": "ArbInu",
"ARBIT": "Arbit Coin", "ARBIT": "Arbit Coin",
"ARBP": "ARB Protocol", "ARBP": "ARB Protocol",
"ARBS": "Arbswap", "ARBS": "Arbswap",
@ -1041,6 +1053,7 @@
"ASBNB": "Astherus Staked BNB", "ASBNB": "Astherus Staked BNB",
"ASC": "All InX SMART CHAIN", "ASC": "All InX SMART CHAIN",
"ASCEND": "Ascend", "ASCEND": "Ascend",
"ASCN": "AlphaScan",
"ASD": "AscendEX Token", "ASD": "AscendEX Token",
"ASDEX": "AstraDEX", "ASDEX": "AstraDEX",
"ASEED": "aUSD SEED (Acala)", "ASEED": "aUSD SEED (Acala)",
@ -1133,6 +1146,7 @@
"ATLA": "Atleta Network", "ATLA": "Atleta Network",
"ATLAS": "Star Atlas", "ATLAS": "Star Atlas",
"ATLASD": "Atlas DEX", "ATLASD": "Atlas DEX",
"ATLASOFUSA": "Atlas",
"ATLX": "Atlantis Loans Polygon", "ATLX": "Atlantis Loans Polygon",
"ATM": "Atletico de Madrid Fan Token", "ATM": "Atletico de Madrid Fan Token",
"ATMA": "ATMA", "ATMA": "ATMA",
@ -1173,6 +1187,7 @@
"AUCO": "Advanced United Continent", "AUCO": "Advanced United Continent",
"AUCTION": "Bounce", "AUCTION": "Bounce",
"AUDC": "Aussie Digital", "AUDC": "Aussie Digital",
"AUDD": "Australian Digital Dollar",
"AUDF": "Forte AUD", "AUDF": "Forte AUD",
"AUDIO": "Audius", "AUDIO": "Audius",
"AUDM": "Macropod Stablecoin", "AUDM": "Macropod Stablecoin",
@ -1260,6 +1275,7 @@
"AWARE": "ChainAware.ai", "AWARE": "ChainAware.ai",
"AWARETOKEN": "AWARE", "AWARETOKEN": "AWARE",
"AWAX": "AWAX", "AWAX": "AWAX",
"AWBTC": "Aave interest bearing WBTC",
"AWC": "Atomic Wallet Coin", "AWC": "Atomic Wallet Coin",
"AWE": "AWE Network", "AWE": "AWE Network",
"AWK": "Awkward Monkey Base", "AWK": "Awkward Monkey Base",
@ -1302,6 +1318,7 @@
"AXT": "AIX", "AXT": "AIX",
"AXYS": "Axys", "AXYS": "Axys",
"AYA": "Aryacoin", "AYA": "Aryacoin",
"AYFI": "Aave YFI",
"AYNI": "Ayni Gold", "AYNI": "Ayni Gold",
"AZ": "Azbit", "AZ": "Azbit",
"AZA": "Kaliza", "AZA": "Kaliza",
@ -1314,6 +1331,7 @@
"AZR": "Azure", "AZR": "Azure",
"AZU": "Azultec", "AZU": "Azultec",
"AZUKI": "Azuki", "AZUKI": "Azuki",
"AZUKI2": "AZUKI 2.0",
"AZUKIDAO": "AzukiDAO", "AZUKIDAO": "AzukiDAO",
"AZUM": "Azuma Coin", "AZUM": "Azuma Coin",
"AZUR": "Azuro Protocol", "AZUR": "Azuro Protocol",
@ -1535,6 +1553,7 @@
"BAOM": "Battle of Memes", "BAOM": "Battle of Memes",
"BAOS": "BaoBaoSol", "BAOS": "BaoBaoSol",
"BAOV1": "BaoToken v1", "BAOV1": "BaoToken v1",
"BAP3X": "bAP3X",
"BAR": "FC Barcelona Fan Token", "BAR": "FC Barcelona Fan Token",
"BARA": "Capybara", "BARA": "Capybara",
"BARAKATUH": "Barakatuh", "BARAKATUH": "Barakatuh",
@ -1678,6 +1697,7 @@
"BCOINM": "Bomb Crypto (MATIC)", "BCOINM": "Bomb Crypto (MATIC)",
"BCOINSOL": "Bomb Crypto (SOL)", "BCOINSOL": "Bomb Crypto (SOL)",
"BCOINTON": "Bomb Crypto (TON)", "BCOINTON": "Bomb Crypto (TON)",
"BCONG": "BabyCong",
"BCOQ": "BLACK COQINU", "BCOQ": "BLACK COQINU",
"BCP": "BlockChainPeople", "BCP": "BlockChainPeople",
"BCPAY": "Bitcashpay", "BCPAY": "Bitcashpay",
@ -1735,6 +1755,7 @@
"BEATAI": "eBeat AI", "BEATAI": "eBeat AI",
"BEATLES": "JohnLennonC0IN", "BEATLES": "JohnLennonC0IN",
"BEATS": "Sol Beats", "BEATS": "Sol Beats",
"BEATSWAP": "BeatSwap",
"BEATTOKEN": "BEAT Token", "BEATTOKEN": "BEAT Token",
"BEAVER": "beaver", "BEAVER": "beaver",
"BEB1M": "BeB", "BEB1M": "BeB",
@ -1851,6 +1872,7 @@
"BFLOKI": "BurnFloki", "BFLOKI": "BurnFloki",
"BFLY": "Butterfly Protocol", "BFLY": "Butterfly Protocol",
"BFM": "BenefitMine", "BFM": "BenefitMine",
"BFR": "Buffer Token",
"BFT": "BF Token", "BFT": "BF Token",
"BFTB": "Brazil Fan Token", "BFTB": "Brazil Fan Token",
"BFTC": "BITS FACTOR", "BFTC": "BITS FACTOR",
@ -2098,6 +2120,7 @@
"BLACKSALE": "Black Sale", "BLACKSALE": "Black Sale",
"BLACKST": "Black Stallion", "BLACKST": "Black Stallion",
"BLACKSWAN": "BlackSwan AI", "BLACKSWAN": "BlackSwan AI",
"BLACKWHALE": "The Black Whale",
"BLADE": "BladeGames", "BLADE": "BladeGames",
"BLADEW": "BladeWarrior", "BLADEW": "BladeWarrior",
"BLAKEBTC": "BlakeBitcoin", "BLAKEBTC": "BlakeBitcoin",
@ -2143,7 +2166,8 @@
"BLOB": "B.O.B the Blob", "BLOB": "B.O.B the Blob",
"BLOBERC20": "Blob", "BLOBERC20": "Blob",
"BLOC": "Blockcloud", "BLOC": "Blockcloud",
"BLOCK": "Blockasset", "BLOCK": "Block",
"BLOCKASSET": "Blockasset",
"BLOCKB": "Block Browser", "BLOCKB": "Block Browser",
"BLOCKBID": "Blockbid", "BLOCKBID": "Blockbid",
"BLOCKF": "Block Farm Club", "BLOCKF": "Block Farm Club",
@ -2218,6 +2242,7 @@
"BM": "BitMoon", "BM": "BitMoon",
"BMAGA": "Baby Maga", "BMAGA": "Baby Maga",
"BMARS": "Binamars", "BMARS": "Binamars",
"BMAX": "BMAX",
"BMB": "Beamable Network Token", "BMB": "Beamable Network Token",
"BMBO": "Bamboo Coin", "BMBO": "Bamboo Coin",
"BMC": "Blackmoon Crypto", "BMC": "Blackmoon Crypto",
@ -2495,6 +2520,7 @@
"BOWSC": "BowsCoin", "BOWSC": "BowsCoin",
"BOWSER": "Bowser", "BOWSER": "Bowser",
"BOX": "DeBoxToken", "BOX": "DeBoxToken",
"BOXABL": "BOXABL",
"BOXCAT": "BOXCAT", "BOXCAT": "BOXCAT",
"BOXETH": "Cat-in-a-Box Ether", "BOXETH": "Cat-in-a-Box Ether",
"BOXT": "BOX Token", "BOXT": "BOX Token",
@ -2579,6 +2605,7 @@
"BRETTGOLD": "Brett Gold", "BRETTGOLD": "Brett Gold",
"BRETTONETH": "Brett ETH", "BRETTONETH": "Brett ETH",
"BRETTSUI": "Brett (brettsui.com)", "BRETTSUI": "Brett (brettsui.com)",
"BREV": "Brevis Token",
"BREW": "CafeSwap Token", "BREW": "CafeSwap Token",
"BREWERY": "Brewery Consortium Coin", "BREWERY": "Brewery Consortium Coin",
"BREWLABS": "Brewlabs", "BREWLABS": "Brewlabs",
@ -2737,6 +2764,7 @@
"BTCAS": "BitcoinAsia", "BTCAS": "BitcoinAsia",
"BTCAT": "Bitcoin Cat", "BTCAT": "Bitcoin Cat",
"BTCB": "Bitcoin BEP2", "BTCB": "Bitcoin BEP2",
"BTCBAM": "BitCoin Bam",
"BTCBASE": "Bitcoin on Base", "BTCBASE": "Bitcoin on Base",
"BTCBR": "Bitcoin BR", "BTCBR": "Bitcoin BR",
"BTCBRV1": "Bitcoin BR v1", "BTCBRV1": "Bitcoin BR v1",
@ -3126,7 +3154,8 @@
"CASPER": "Casper DeFi", "CASPER": "Casper DeFi",
"CASPERTOKEN": "Casper Token", "CASPERTOKEN": "Casper Token",
"CASPUR": "Caspur Zoomies", "CASPUR": "Caspur Zoomies",
"CAST": "Castello Coin", "CAST": "CAST ORACLES",
"CASTELLOCOIN": "Castello Coin",
"CASTLE": "bitCastle", "CASTLE": "bitCastle",
"CAT": "Simon's Cat", "CAT": "Simon's Cat",
"CATA": "CATAMOTO", "CATA": "CATAMOTO",
@ -3236,6 +3265,7 @@
"CBX": "CropBytes", "CBX": "CropBytes",
"CBXRP": "Coinbase Wrapped XRP", "CBXRP": "Coinbase Wrapped XRP",
"CBY": "Carbify", "CBY": "Carbify",
"CBYTE": "CBYTE",
"CC": "Canton Coin", "CC": "Canton Coin",
"CC10": "Cryptocurrency Top 10 Tokens Index", "CC10": "Cryptocurrency Top 10 Tokens Index",
"CCA": "CCA", "CCA": "CCA",
@ -3310,6 +3340,7 @@
"CENTRA": "Centra", "CENTRA": "Centra",
"CENTS": "Centience", "CENTS": "Centience",
"CENX": "Centcex", "CENX": "Centcex",
"CEO": "CEO",
"CEODOGE": "CEO DOGE", "CEODOGE": "CEO DOGE",
"CERBER": "CERBEROGE", "CERBER": "CERBEROGE",
"CERE": "Cere Network", "CERE": "Cere Network",
@ -3695,7 +3726,8 @@
"COC": "Coin of the champions", "COC": "Coin of the champions",
"COCAINE": "THE GOOD STUFF", "COCAINE": "THE GOOD STUFF",
"COCK": "Shibacock", "COCK": "Shibacock",
"COCO": "COCO COIN", "COCO": "coco",
"COCOCOIN": "COCO COIN",
"COCONUT": "Coconut", "COCONUT": "Coconut",
"COCOR": "Cocoro", "COCOR": "Cocoro",
"COCORO": "Cocoro", "COCORO": "Cocoro",
@ -3726,6 +3758,7 @@
"COI": "Coinnec", "COI": "Coinnec",
"COINAI": "Coinbase AI Agent", "COINAI": "Coinbase AI Agent",
"COINB": "Coinbidex", "COINB": "Coinbidex",
"COINBANK": "CoinBank",
"COINBT": "CoinBot", "COINBT": "CoinBot",
"COINBUCK": "Coinbuck", "COINBUCK": "Coinbuck",
"COINDEALTOKEN": "CoinDeal Token", "COINDEALTOKEN": "CoinDeal Token",
@ -3750,6 +3783,7 @@
"COLA": "Cola", "COLA": "Cola",
"COLISEUM": "Coliseum", "COLISEUM": "Coliseum",
"COLL": "Collateral Pay", "COLL": "Collateral Pay",
"COLLAB": "Collab.Land",
"COLLAR": "PolyPup Finance", "COLLAR": "PolyPup Finance",
"COLLAT": "Collaterize", "COLLAT": "Collaterize",
"COLLE": "Collective Care", "COLLE": "Collective Care",
@ -3970,6 +4004,7 @@
"CREPECOIN": "Crepe Coin", "CREPECOIN": "Crepe Coin",
"CRES": "Cresio", "CRES": "Cresio",
"CRESV1": "Cresio v1", "CRESV1": "Cresio v1",
"CRETA": "Creta World",
"CREV": "CryptoRevolution", "CREV": "CryptoRevolution",
"CREVA": "Creva Coin", "CREVA": "Creva Coin",
"CREW": "CREW INU", "CREW": "CREW INU",
@ -4778,8 +4813,10 @@
"DINGER": "Dinger Token", "DINGER": "Dinger Token",
"DINGO": "Dingocoin", "DINGO": "Dingocoin",
"DINNER": "Trump Dinner", "DINNER": "Trump Dinner",
"DINO": "DinoLFG", "DINO": "DINO",
"DINOLFG": "DinoLFG",
"DINOS": "Dinosaur Inu", "DINOS": "Dinosaur Inu",
"DINOSOL": "DINOSOL",
"DINOSWAP": "DinoSwap", "DINOSWAP": "DinoSwap",
"DINT": "DinarTether", "DINT": "DinarTether",
"DINU": "Dogey-Inu", "DINU": "Dogey-Inu",
@ -4974,6 +5011,7 @@
"DOGEZILLA": "DogeZilla", "DOGEZILLA": "DogeZilla",
"DOGEZILLAV1": "DogeZilla v1", "DOGEZILLAV1": "DogeZilla v1",
"DOGG": "Doggo", "DOGG": "Doggo",
"DOGGO": "DOGGO",
"DOGGS": "Doggensnout", "DOGGS": "Doggensnout",
"DOGGY": "Doggy", "DOGGY": "Doggy",
"DOGGYCOIN": "DOGGY", "DOGGYCOIN": "DOGGY",
@ -5487,6 +5525,7 @@
"EGGC": "EggCoin", "EGGC": "EggCoin",
"EGGMAN": "Eggman Inu", "EGGMAN": "Eggman Inu",
"EGGP": "Eggplant Finance", "EGGP": "Eggplant Finance",
"EGGT": "Egg N Partners",
"EGGY": "EGGY", "EGGY": "EGGY",
"EGI": "eGame", "EGI": "eGame",
"EGL": "The Eagle Of Truth", "EGL": "The Eagle Of Truth",
@ -5711,6 +5750,7 @@
"EPETS": "Etherpets", "EPETS": "Etherpets",
"EPIC": "Epic Chain", "EPIC": "Epic Chain",
"EPICCASH": "Epic Cash", "EPICCASH": "Epic Cash",
"EPICV1": "Ethernity Chain",
"EPIK": "EPIK Token", "EPIK": "EPIK Token",
"EPIKO": "Epiko", "EPIKO": "Epiko",
"EPIX": "Byepix", "EPIX": "Byepix",
@ -6140,6 +6180,7 @@
"FCTC": "FaucetCoin", "FCTC": "FaucetCoin",
"FCTR": "FactorDAO", "FCTR": "FactorDAO",
"FDC": "Fidance", "FDC": "Fidance",
"FDGC": "FINTECH DIGITAL GOLD COIN",
"FDLS": "FIDELIS", "FDLS": "FIDELIS",
"FDM": "Fandom", "FDM": "Fandom",
"FDO": "Firdaos", "FDO": "Firdaos",
@ -6440,7 +6481,9 @@
"FOFARIO": "Fofar", "FOFARIO": "Fofar",
"FOFO": "FOFO", "FOFO": "FOFO",
"FOFOTOKEN": "FOFO Token", "FOFOTOKEN": "FOFO Token",
"FOG": "FOGnet",
"FOGE": "Fat Doge", "FOGE": "Fat Doge",
"FOGV1": "FOGnet v1",
"FOIN": "Foin", "FOIN": "Foin",
"FOL": "Folder Protocol", "FOL": "Folder Protocol",
"FOLD": "Manifold Finance", "FOLD": "Manifold Finance",
@ -6709,6 +6752,7 @@
"FWB": "Friends With Benefits Pro", "FWB": "Friends With Benefits Pro",
"FWBV1": "Friends With Benefits Pro v1", "FWBV1": "Friends With Benefits Pro v1",
"FWC": "Qatar 2022", "FWC": "Qatar 2022",
"FWCL": "Legends",
"FWH": "FigureWifHat", "FWH": "FigureWifHat",
"FWOG": "Fwog", "FWOG": "Fwog",
"FWT": "Freeway Token", "FWT": "Freeway Token",
@ -7042,6 +7086,7 @@
"GIGASWAP": "GigaSwap", "GIGASWAP": "GigaSwap",
"GIGGLE": "Giggle Fund", "GIGGLE": "Giggle Fund",
"GIGGLEACADEMY": "Giggle Academy", "GIGGLEACADEMY": "Giggle Academy",
"GIGL": "GIGGLE PANDA",
"GIGS": "Climate101", "GIGS": "Climate101",
"GIGX": "GigXCoin", "GIGX": "GigXCoin",
"GIKO": "Giko Cat", "GIKO": "Giko Cat",
@ -7558,6 +7603,7 @@
"HACHIKO": "Hachiko Inu Token", "HACHIKO": "Hachiko Inu Token",
"HACHIONB": "Hachi On Base", "HACHIONB": "Hachi On Base",
"HACK": "HACK", "HACK": "HACK",
"HADES": "Hades",
"HAEDAL": "Haedal Protocol", "HAEDAL": "Haedal Protocol",
"HAGGIS": "New Born Haggis Pygmy Hippo", "HAGGIS": "New Born Haggis Pygmy Hippo",
"HAHA": "Hasaki", "HAHA": "Hasaki",
@ -7772,6 +7818,7 @@
"HIENS3": "hiENS3", "HIENS3": "hiENS3",
"HIENS4": "hiENS4", "HIENS4": "hiENS4",
"HIFI": "Hifi Finance", "HIFI": "Hifi Finance",
"HIFIDENZA": "hiFIDENZA",
"HIFLUF": "hiFLUF", "HIFLUF": "hiFLUF",
"HIFRIENDS": "hiFRIENDS", "HIFRIENDS": "hiFRIENDS",
"HIGAZERS": "hiGAZERS", "HIGAZERS": "hiGAZERS",
@ -7811,6 +7858,7 @@
"HITBTC": "HitBTC Token", "HITBTC": "HitBTC Token",
"HITOP": "Hitop", "HITOP": "Hitop",
"HIUNDEAD": "hiUNDEAD", "HIUNDEAD": "hiUNDEAD",
"HIVALHALLA": "hiVALHALLA",
"HIVE": "Hive", "HIVE": "Hive",
"HIVP": "HiveSwap", "HIVP": "HiveSwap",
"HIX": "HELIX Orange", "HIX": "HELIX Orange",
@ -7984,6 +8032,7 @@
"HSN": "Hyper Speed Network", "HSN": "Hyper Speed Network",
"HSOL": "Helius Staked SOL", "HSOL": "Helius Staked SOL",
"HSP": "Horse Power", "HSP": "Horse Power",
"HSR": "Hshare",
"HSS": "Hashshare", "HSS": "Hashshare",
"HST": "Decision Token", "HST": "Decision Token",
"HSUI": "Suicune", "HSUI": "Suicune",
@ -8005,6 +8054,7 @@
"HTN": "Hoosat Network", "HTN": "Hoosat Network",
"HTO": "Heavenland HTO", "HTO": "Heavenland HTO",
"HTR": "Hathor", "HTR": "Hathor",
"HTS": "Home3",
"HTT": "Hello Art", "HTT": "Hello Art",
"HTX": "HTX", "HTX": "HTX",
"HTZ": "Hertz Network", "HTZ": "Hertz Network",
@ -8427,6 +8477,7 @@
"IQN": "IQeon", "IQN": "IQeon",
"IQQ": "Iqoniq", "IQQ": "Iqoniq",
"IQT": "IQ Protocol", "IQT": "IQ Protocol",
"IR": "Infrared Governance Token",
"IRA": "Diligence", "IRA": "Diligence",
"IRC": "IRIS", "IRC": "IRIS",
"IRENA": "Irena Coin Apps", "IRENA": "Irena Coin Apps",
@ -8558,6 +8609,7 @@
"JAWN": "Long Jawn Silvers", "JAWN": "Long Jawn Silvers",
"JAWS": "AutoShark", "JAWS": "AutoShark",
"JAY": "Jaypeggers", "JAY": "Jaypeggers",
"JBC": "Japan Brand Coin",
"JBO": "JBOX", "JBO": "JBOX",
"JBOT": "JACKBOT", "JBOT": "JACKBOT",
"JBS": "JumBucks Coin", "JBS": "JumBucks Coin",
@ -8596,6 +8648,7 @@
"JERRYINUCOM": "Jerry Inu", "JERRYINUCOM": "Jerry Inu",
"JES": "Jesus", "JES": "Jesus",
"JESSE": "jesse", "JESSE": "jesse",
"JESSECOIN": "jesse",
"JEST": "Jester", "JEST": "Jester",
"JESUS": "Jesus Coin", "JESUS": "Jesus Coin",
"JET": "Jet Protocol", "JET": "Jet Protocol",
@ -8624,6 +8677,7 @@
"JIM": "Jim", "JIM": "Jim",
"JIN": "JinPeng", "JIN": "JinPeng",
"JIND": "JINDO INU", "JIND": "JINDO INU",
"JINDO": "JINDOGE",
"JINDOGE": "Jindoge", "JINDOGE": "Jindoge",
"JIO": "JIO Token", "JIO": "JIO Token",
"JITOSOL": "Jito Staked SOL", "JITOSOL": "Jito Staked SOL",
@ -8865,6 +8919,7 @@
"KDC": "Klondike Coin", "KDC": "Klondike Coin",
"KDG": "Kingdom Game 4.0", "KDG": "Kingdom Game 4.0",
"KDIA": "KDIA COIN", "KDIA": "KDIA COIN",
"KDK": "Kodiak Token",
"KDOE": "Kudoe", "KDOE": "Kudoe",
"KDOGE": "KingDoge", "KDOGE": "KingDoge",
"KDT": "Kenyan Digital Token", "KDT": "Kenyan Digital Token",
@ -8926,6 +8981,7 @@
"KGC": "Krypton Galaxy Coin", "KGC": "Krypton Galaxy Coin",
"KGEN": "KGeN", "KGEN": "KGeN",
"KGO": "Kiwigo", "KGO": "Kiwigo",
"KGST": "KGST",
"KGT": "Kaby Gaming Token", "KGT": "Kaby Gaming Token",
"KHAI": "khai", "KHAI": "khai",
"KHEOWZOO": "khaokheowzoo", "KHEOWZOO": "khaokheowzoo",
@ -9074,6 +9130,7 @@
"KNUT": "Knut From Zoo", "KNUT": "Knut From Zoo",
"KNUXX": "Knuxx Bully of ETH", "KNUXX": "Knuxx Bully of ETH",
"KNW": "Knowledge", "KNW": "Knowledge",
"KO": "Kyuzo's Friends",
"KOAI": "KOI", "KOAI": "KOI",
"KOALA": "KOALA", "KOALA": "KOALA",
"KOBAN": "KOBAN", "KOBAN": "KOBAN",
@ -9089,6 +9146,7 @@
"KOII": "Koii", "KOII": "Koii",
"KOIN": "Koinos", "KOIN": "Koinos",
"KOINB": "KoinBülteni Token", "KOINB": "KoinBülteni Token",
"KOINDEX": "KOIN",
"KOINETWORK": "Koi Network", "KOINETWORK": "Koi Network",
"KOIP": "KoiPond", "KOIP": "KoiPond",
"KOJI": "Koji", "KOJI": "Koji",
@ -9548,8 +9606,9 @@
"LIQUIDIUM": "LIQUIDIUM•TOKEN", "LIQUIDIUM": "LIQUIDIUM•TOKEN",
"LIR": "Let it Ride", "LIR": "Let it Ride",
"LIS": "Realis Network", "LIS": "Realis Network",
"LISA": "Lisa Simpson", "LISA": "LISA Token",
"LISAS": "Lisa Simpson", "LISAS": "Lisa Simpson",
"LISASIMPSONCLUB": "Lisa Simpson",
"LIST": "KList Protocol", "LIST": "KList Protocol",
"LISTA": "Lista DAO", "LISTA": "Lista DAO",
"LISTEN": "Listen", "LISTEN": "Listen",
@ -9732,6 +9791,7 @@
"LQT": "Lifty", "LQT": "Lifty",
"LQTY": "Liquity", "LQTY": "Liquity",
"LRC": "Loopring", "LRC": "Loopring",
"LRCV1": "Loopring v1",
"LRDS": "BLOCKLORDS", "LRDS": "BLOCKLORDS",
"LRG": "Largo Coin", "LRG": "Largo Coin",
"LRN": "Loopring [NEO]", "LRN": "Loopring [NEO]",
@ -9950,6 +10010,7 @@
"MAGICK": "Cosmic Universe Magick", "MAGICK": "Cosmic Universe Magick",
"MAGICV": "Magicverse", "MAGICV": "Magicverse",
"MAGIK": "Magik Finance", "MAGIK": "Magik Finance",
"MAGMA": "MAGMA",
"MAGN": "Magnate Finance", "MAGN": "Magnate Finance",
"MAGNE": "Magnetix", "MAGNE": "Magnetix",
"MAGNET": "Yield Magnet", "MAGNET": "Yield Magnet",
@ -10198,6 +10259,7 @@
"MCU": "MediChain", "MCU": "MediChain",
"MCUSD": "Moola Celo USD", "MCUSD": "Moola Celo USD",
"MCV": "MCV Token", "MCV": "MCV Token",
"MCX": "MachiX Token",
"MD": "MetaDeck", "MD": "MetaDeck",
"MDA": "Moeda", "MDA": "Moeda",
"MDAI": "MindAI", "MDAI": "MindAI",
@ -10366,6 +10428,7 @@
"METANIAV1": "METANIAGAMES", "METANIAV1": "METANIAGAMES",
"METANO": "Metano", "METANO": "Metano",
"METAPK": "Metapocket", "METAPK": "Metapocket",
"METAPLACE": "Metaplace",
"METAQ": "MetaQ", "METAQ": "MetaQ",
"METAS": "Metaseer", "METAS": "Metaseer",
"METAT": "MetaTrace", "METAT": "MetaTrace",
@ -10510,6 +10573,7 @@
"MIMO": "MIMO Parallel Governance Token", "MIMO": "MIMO Parallel Governance Token",
"MIN": "MINDOL", "MIN": "MINDOL",
"MINA": "Mina Protocol", "MINA": "Mina Protocol",
"MINAR": "Miner Arena",
"MINC": "MinCoin", "MINC": "MinCoin",
"MIND": "Morpheus Labs", "MIND": "Morpheus Labs",
"MINDBODY": "Mind Body Soul", "MINDBODY": "Mind Body Soul",
@ -10911,7 +10975,7 @@
"MPAA": "MPAA", "MPAA": "MPAA",
"MPAD": "MultiPad", "MPAD": "MultiPad",
"MPAY": "Menapay", "MPAY": "Menapay",
"MPC": "Metaplace", "MPC": "Partisia Blockchain",
"MPD": "Metapad", "MPD": "Metapad",
"MPG": "Max Property Group", "MPG": "Max Property Group",
"MPH": "Morpher", "MPH": "Morpher",
@ -11010,6 +11074,7 @@
"MTHB": "MTHAIBAHT", "MTHB": "MTHAIBAHT",
"MTHD": "Method Finance", "MTHD": "Method Finance",
"MTHN": "MTH Network", "MTHN": "MTH Network",
"MTHT": "MetaHint",
"MTIK": "MatikaToken", "MTIK": "MatikaToken",
"MTIX": "Matrix Token", "MTIX": "Matrix Token",
"MTK": "Moya Token", "MTK": "Moya Token",
@ -11175,6 +11240,7 @@
"N3": "Network3", "N3": "Network3",
"N3DR": "NeorderDAO ", "N3DR": "NeorderDAO ",
"N3ON": "N3on", "N3ON": "N3on",
"N4T": "Nobel For Trump",
"N64": "N64", "N64": "N64",
"N7": "Number7", "N7": "Number7",
"N8V": "NativeCoin", "N8V": "NativeCoin",
@ -11722,6 +11788,7 @@
"NWIF": "neirowifhat", "NWIF": "neirowifhat",
"NWP": "NWPSolution", "NWP": "NWPSolution",
"NWS": "Nodewaves", "NWS": "Nodewaves",
"NXA": "NEXA Agent",
"NXC": "Nexium", "NXC": "Nexium",
"NXD": "Nexus Dubai", "NXD": "Nexus Dubai",
"NXDT": "NXD Next", "NXDT": "NXD Next",
@ -11766,7 +11833,8 @@
"OAS": "Oasis City", "OAS": "Oasis City",
"OASC": "Oasis City", "OASC": "Oasis City",
"OASI": "Oasis Metaverse", "OASI": "Oasis Metaverse",
"OASIS": "Oasis", "OASIS": "OASIS",
"OASISPLATFORM": "Oasis",
"OAT": "OAT Network", "OAT": "OAT Network",
"OATH": "OATH Protocol", "OATH": "OATH Protocol",
"OAX": "Oax", "OAX": "Oax",
@ -11983,12 +12051,14 @@
"ONUS": "ONUS", "ONUS": "ONUS",
"ONX": "OnX.finance", "ONX": "OnX.finance",
"OOB": "Oobit", "OOB": "Oobit",
"OOBV1": "Oobit",
"OOE": "OpenOcean", "OOE": "OpenOcean",
"OOFP": "OOFP", "OOFP": "OOFP",
"OOGI": "OOGI", "OOGI": "OOGI",
"OOKI": "Ooki", "OOKI": "Ooki",
"OOKS": "Onooks", "OOKS": "Onooks",
"OOM": "OomerBot", "OOM": "OomerBot",
"OOOO": "oooo",
"OOPS": "OOPS", "OOPS": "OOPS",
"OORC": "Orbit Bridge Klaytn Orbit Chain", "OORC": "Orbit Bridge Klaytn Orbit Chain",
"OORT": "OORT", "OORT": "OORT",
@ -12838,7 +12908,7 @@
"PMOON": "Pookimoon", "PMOON": "Pookimoon",
"PMPY": "Prometheum Prodigy", "PMPY": "Prometheum Prodigy",
"PMR": "Pomerium Utility Token", "PMR": "Pomerium Utility Token",
"PMT": "POWER MARKET", "PMT": "Public Masterpiece Token",
"PMTN": "Peer Mountain", "PMTN": "Peer Mountain",
"PMX": "Phillip Morris xStock", "PMX": "Phillip Morris xStock",
"PNB": "Pink BNB", "PNB": "Pink BNB",
@ -13001,7 +13071,9 @@
"POUW": "Pouwifhat", "POUW": "Pouwifhat",
"POW": "PowBlocks", "POW": "PowBlocks",
"POWELL": "Jerome Powell", "POWELL": "Jerome Powell",
"POWER": "Powerloom Token", "POWER": "Power",
"POWERLOOM": "Powerloom Token",
"POWERMARKET": "POWER MARKET",
"POWR": "Power Ledger", "POWR": "Power Ledger",
"POWSCHE": "Powsche", "POWSCHE": "Powsche",
"POX": "Monkey Pox", "POX": "Monkey Pox",
@ -13269,6 +13341,7 @@
"PXL": "PIXEL", "PXL": "PIXEL",
"PXP": "PointPay", "PXP": "PointPay",
"PXT": "Pixer Eternity", "PXT": "Pixer Eternity",
"PYBOBO": "Capybobo",
"PYC": "PayCoin", "PYC": "PayCoin",
"PYE": "CreamPYE", "PYE": "CreamPYE",
"PYI": "PYRIN", "PYI": "PYRIN",
@ -13470,6 +13543,7 @@
"RAIREFLEX": "Rai Reflex Index", "RAIREFLEX": "Rai Reflex Index",
"RAISE": "Raise Token", "RAISE": "Raise Token",
"RAIT": "Rabbitgame", "RAIT": "Rabbitgame",
"RAITOKEN": "RAI",
"RAIZER": "RAIZER", "RAIZER": "RAIZER",
"RAK": "Rake Finance", "RAK": "Rake Finance",
"RAKE": "Rake Coin", "RAKE": "Rake Coin",
@ -13497,10 +13571,11 @@
"RATOTHERAT": "Rato The Rat", "RATOTHERAT": "Rato The Rat",
"RATS": "Rats", "RATS": "Rats",
"RATWIF": "RatWifHat", "RATWIF": "RatWifHat",
"RAVE": "Ravendex", "RAVE": "RaveDAO",
"RAVELOUS": "Ravelous", "RAVELOUS": "Ravelous",
"RAVEN": "Raven Protocol", "RAVEN": "Raven Protocol",
"RAVENCOINC": "Ravencoin Classic", "RAVENCOINC": "Ravencoin Classic",
"RAVENDEX": "Ravendex",
"RAWDOG": "RawDog", "RAWDOG": "RawDog",
"RAWG": "RAWG", "RAWG": "RAWG",
"RAY": "Raydium", "RAY": "Raydium",
@ -13810,7 +13885,8 @@
"RIVUS": "RivusDAO", "RIVUS": "RivusDAO",
"RIYA": "Etheriya", "RIYA": "Etheriya",
"RIZ": "Rivalz Network", "RIZ": "Rivalz Network",
"RIZE": "Rizespor Token", "RIZE": "RIZE",
"RIZESPOR": "Rizespor Token",
"RIZO": "HahaYes", "RIZO": "HahaYes",
"RIZOLOL": "Rizo", "RIZOLOL": "Rizo",
"RIZZ": "Rizz", "RIZZ": "Rizz",
@ -13856,6 +13932,7 @@
"RNT": "REAL NIGGER TATE", "RNT": "REAL NIGGER TATE",
"RNTB": "BitRent", "RNTB": "BitRent",
"RNX": "ROONEX", "RNX": "ROONEX",
"ROA": "ROA CORE",
"ROAD": "ROAD", "ROAD": "ROAD",
"ROAM": "Roam Token", "ROAM": "Roam Token",
"ROAR": "Alpha DEX", "ROAR": "Alpha DEX",
@ -13993,6 +14070,7 @@
"RTM": "Raptoreum", "RTM": "Raptoreum",
"RTR": "Restore The Republic", "RTR": "Restore The Republic",
"RTT": "Restore Truth Token", "RTT": "Restore Truth Token",
"RTX": "RateX",
"RU": "RIFI United", "RU": "RIFI United",
"RUBB": "Rubber Ducky Cult", "RUBB": "Rubber Ducky Cult",
"RUBCASH": "RUBCASH", "RUBCASH": "RUBCASH",
@ -14283,7 +14361,7 @@
"SCOIN": "ShinCoin", "SCOIN": "ShinCoin",
"SCONE": "Sportcash One", "SCONE": "Sportcash One",
"SCOOBY": "Scooby coin", "SCOOBY": "Scooby coin",
"SCOR": "Scorista", "SCOR": "Scor",
"SCORE": "Scorecoin", "SCORE": "Scorecoin",
"SCOT": "Scotcoin", "SCOT": "Scotcoin",
"SCOTT": "Scottish", "SCOTT": "Scottish",
@ -14377,6 +14455,7 @@
"SELFIEC": "Selfie Cat", "SELFIEC": "Selfie Cat",
"SELFT": "SelfToken", "SELFT": "SelfToken",
"SELLC": "Sell Token", "SELLC": "Sell Token",
"SELO": "SELO+",
"SEM": "Semux", "SEM": "Semux",
"SEN": "Sentaro", "SEN": "Sentaro",
"SENA": "Ethena Staked ENA", "SENA": "Ethena Staked ENA",
@ -14482,7 +14561,6 @@
"SHANG": "Shanghai Inu", "SHANG": "Shanghai Inu",
"SHAR": "Shark Cat", "SHAR": "Shark Cat",
"SHARBI": "SHARBI", "SHARBI": "SHARBI",
"SHARD": "ShardCoin",
"SHARDS": "WorldShards", "SHARDS": "WorldShards",
"SHARE": "Seigniorage Shares", "SHARE": "Seigniorage Shares",
"SHARECHAIN": "ShareChain", "SHARECHAIN": "ShareChain",
@ -14580,6 +14658,7 @@
"SHIRO": "Shiro Neko", "SHIRO": "Shiro Neko",
"SHIROSOL": "Shiro Neko (shirosol.online)", "SHIROSOL": "Shiro Neko (shirosol.online)",
"SHIRYOINU": "Shiryo-Inu", "SHIRYOINU": "Shiryo-Inu",
"SHISA": "SHISA",
"SHISHA": "Shisha Coin", "SHISHA": "Shisha Coin",
"SHIT": "I will poop it NFT", "SHIT": "I will poop it NFT",
"SHITC": "Shitcoin", "SHITC": "Shitcoin",
@ -14628,9 +14707,11 @@
"SHUFFLE": "SHUFFLE!", "SHUFFLE": "SHUFFLE!",
"SHVR": "Shivers", "SHVR": "Shivers",
"SHX": "Stronghold Token", "SHX": "Stronghold Token",
"SHXV1": "Stronghold Token v1",
"SHY": "Shytoshi Kusama", "SHY": "Shytoshi Kusama",
"SHYTCOIN": "ShytCoin", "SHYTCOIN": "ShytCoin",
"SI": "Siren", "SI": "Siren",
"SI14": "Si14",
"SIACLASSIC": "SiaClassic", "SIACLASSIC": "SiaClassic",
"SIB": "SibCoin", "SIB": "SibCoin",
"SIBA": "SibaInu", "SIBA": "SibaInu",
@ -14831,6 +14912,7 @@
"SMARTLOX": "SmartLOX", "SMARTLOX": "SmartLOX",
"SMARTM": "SmartMesh", "SMARTM": "SmartMesh",
"SMARTMEME": "SmartMEME", "SMARTMEME": "SmartMEME",
"SMARTMFG": "Smart MFG",
"SMARTNFT": "SmartNFT", "SMARTNFT": "SmartNFT",
"SMARTO": "smARTOFGIVING", "SMARTO": "smARTOFGIVING",
"SMARTSHARE": "Smartshare", "SMARTSHARE": "Smartshare",
@ -15040,6 +15122,7 @@
"SOLNAV": "SOLNAV AI", "SOLNAV": "SOLNAV AI",
"SOLNIC": "Solnic", "SOLNIC": "Solnic",
"SOLO": "Sologenic", "SOLO": "Sologenic",
"SOLOM": "Solomon",
"SOLOR": "Solordi", "SOLOR": "Solordi",
"SOLP": "SolPets", "SOLP": "SolPets",
"SOLPAD": "Solpad Finance", "SOLPAD": "Solpad Finance",
@ -15332,6 +15415,7 @@
"STACS": "STACS Token", "STACS": "STACS Token",
"STAFIRETH": "StaFi Staked ETH", "STAFIRETH": "StaFi Staked ETH",
"STAGE": "Stage", "STAGE": "Stage",
"STAI": "StereoAI",
"STAK": "Jigstack", "STAK": "Jigstack",
"STAKE": "xDai Chain", "STAKE": "xDai Chain",
"STAKEDETH": "StakeHound Staked Ether", "STAKEDETH": "StakeHound Staked Ether",
@ -15422,6 +15506,7 @@
"STIMA": "STIMA", "STIMA": "STIMA",
"STING": "Sting", "STING": "Sting",
"STINJ": "Stride Staked INJ", "STINJ": "Stride Staked INJ",
"STIPS": "Stips",
"STITCH": "Stitch", "STITCH": "Stitch",
"STIX": "STIX", "STIX": "STIX",
"STJUNO": "Stride Staked JUNO", "STJUNO": "Stride Staked JUNO",
@ -15597,6 +15682,7 @@
"SUPERBONK": "SUPER BONK", "SUPERBONK": "SUPER BONK",
"SUPERC": "SuperCoin", "SUPERC": "SuperCoin",
"SUPERCAT": "SUPERCAT", "SUPERCAT": "SUPERCAT",
"SUPERCYCLE": "Crypto SuperCycle",
"SUPERDAPP": "SuperDapp", "SUPERDAPP": "SuperDapp",
"SUPERF": "SUPER FLOKI", "SUPERF": "SUPER FLOKI",
"SUPERGROK": "SuperGrok", "SUPERGROK": "SuperGrok",
@ -15855,6 +15941,7 @@
"TBILL": "OpenEden T-Bills", "TBILL": "OpenEden T-Bills",
"TBILLV1": "OpenEden T-Bills v1", "TBILLV1": "OpenEden T-Bills v1",
"TBIS": "TBIS token", "TBIS": "TBIS token",
"TBK": "TBK Token",
"TBL": "Tombola", "TBL": "Tombola",
"TBLLX": "TBLL xStock", "TBLLX": "TBLL xStock",
"TBR": "Tuebor", "TBR": "Tuebor",
@ -15902,7 +15989,8 @@
"TDROP": "ThetaDrop", "TDROP": "ThetaDrop",
"TDS": "TokenDesk", "TDS": "TokenDesk",
"TDX": "Tidex Token", "TDX": "Tidex Token",
"TEA": "TeaDAO", "TEA": "TeaFi Token",
"TEADAO": "TeaDAO",
"TEAM": "TeamUP", "TEAM": "TeamUP",
"TEARS": "Liberals Tears", "TEARS": "Liberals Tears",
"TEC": "TeCoin", "TEC": "TeCoin",
@ -15933,7 +16021,7 @@
"TEMM": "TEM MARKET", "TEMM": "TEM MARKET",
"TEMP": "Tempus", "TEMP": "Tempus",
"TEMPLE": "TempleDAO", "TEMPLE": "TempleDAO",
"TEN": "Tokenomy", "TEN": "TEN",
"TEND": "Tendies", "TEND": "Tendies",
"TENDIE": "TendieSwap", "TENDIE": "TendieSwap",
"TENET": "TENET", "TENET": "TENET",
@ -15947,8 +16035,8 @@
"TEQ": "Teq Network", "TEQ": "Teq Network",
"TER": "TerraNovaCoin", "TER": "TerraNovaCoin",
"TERA": "TERA", "TERA": "TERA",
"TERA2": "Terareum",
"TERADYNE": "Teradyne", "TERADYNE": "Teradyne",
"TERAR": "Terareum",
"TERAV1": "Terareum v1", "TERAV1": "Terareum v1",
"TERAWATT": "Terawatt", "TERAWATT": "Terawatt",
"TERM": "Terminal of Simpson", "TERM": "Terminal of Simpson",
@ -15975,6 +16063,7 @@
"TETSUO": "Tetsuo Coin", "TETSUO": "Tetsuo Coin",
"TETU": "TETU", "TETU": "TETU",
"TEVA": "Tevaera", "TEVA": "Tevaera",
"TEVI": "TEVI Coin",
"TEW": "Trump in a memes world", "TEW": "Trump in a memes world",
"TEX": "Terrax", "TEX": "Terrax",
"TF47": "Trump Force 47", "TF47": "Trump Force 47",
@ -15988,7 +16077,7 @@
"TFT": "The Famous Token", "TFT": "The Famous Token",
"TFUEL": "Theta Fuel", "TFUEL": "Theta Fuel",
"TGAME": "TrueGame", "TGAME": "TrueGame",
"TGC": "TigerCoin", "TGC": "TG.Casino",
"TGCC": "TheGCCcoin", "TGCC": "TheGCCcoin",
"TGPT": "Trading GPT", "TGPT": "Trading GPT",
"TGRAM": "TG20 TGram", "TGRAM": "TG20 TGram",
@ -16026,6 +16115,7 @@
"THEOS": "Theos", "THEOS": "Theos",
"THEP": "The Protocol", "THEP": "The Protocol",
"THEPLAY": "PLAY", "THEPLAY": "PLAY",
"THEREALCHAIN": "REAL",
"THERESAMAY": "Theresa May Coin", "THERESAMAY": "Theresa May Coin",
"THES": "The Standard Protocol (USDS)", "THES": "The Standard Protocol (USDS)",
"THESTANDARD": "Standard Token", "THESTANDARD": "Standard Token",
@ -16051,6 +16141,7 @@
"THOR": "THORSwap", "THOR": "THORSwap",
"THOREUM": "Thoreum V3", "THOREUM": "Thoreum V3",
"THP": "TurboHigh Performance", "THP": "TurboHigh Performance",
"THQ": "Theoriq Token",
"THR": "Thorecoin", "THR": "Thorecoin",
"THREE": "Three Protocol Token ", "THREE": "Three Protocol Token ",
"THRT": "ThriveToken", "THRT": "ThriveToken",
@ -16078,6 +16169,7 @@
"TIG": "Tigereum", "TIG": "Tigereum",
"TIGER": "TIGER", "TIGER": "TIGER",
"TIGERC": "TigerCash", "TIGERC": "TigerCash",
"TIGERCOIN": "TigerCoin",
"TIGERCV1": "TigerCash v1", "TIGERCV1": "TigerCash v1",
"TIGERMOON": "TigerMoon", "TIGERMOON": "TigerMoon",
"TIGERSHARK": "Tiger Shark", "TIGERSHARK": "Tiger Shark",
@ -16154,6 +16246,7 @@
"TME": "Timereum", "TME": "Timereum",
"TMED": "MDsquare", "TMED": "MDsquare",
"TMFT": "Turkish Motorcycle Federation", "TMFT": "Turkish Motorcycle Federation",
"TMG": "T-mac DAO",
"TMN": "TranslateMe", "TMN": "TranslateMe",
"TMNG": "TMN Global", "TMNG": "TMN Global",
"TMNT": "TMNT", "TMNT": "TMNT",
@ -16193,6 +16286,7 @@
"TOKC": "Tokyo Coin", "TOKC": "Tokyo Coin",
"TOKE": "Tokemak", "TOKE": "Tokemak",
"TOKEN": "TokenFi", "TOKEN": "TokenFi",
"TOKENOMY": "Tokenomy",
"TOKENPLACE": "Tokenplace", "TOKENPLACE": "Tokenplace",
"TOKENSTARS": "TokenStars", "TOKENSTARS": "TokenStars",
"TOKERO": "TOKERO LevelUP Token", "TOKERO": "TOKERO LevelUP Token",
@ -16312,6 +16406,7 @@
"TRADE": "Polytrade", "TRADE": "Polytrade",
"TRADEBOT": "TradeBot", "TRADEBOT": "TradeBot",
"TRADECHAIN": "Trade Chain", "TRADECHAIN": "Trade Chain",
"TRADETIDE": "Trade Tide Token",
"TRADEX": "TradeX AI", "TRADEX": "TradeX AI",
"TRADOOR": "Tradoor", "TRADOOR": "Tradoor",
"TRAI": "Trackgood AI", "TRAI": "Trackgood AI",
@ -16361,6 +16456,7 @@
"TRIAS": "Trias", "TRIAS": "Trias",
"TRIBE": "Tribe", "TRIBE": "Tribe",
"TRIBETOKEN": "TribeToken", "TRIBETOKEN": "TribeToken",
"TRIBEX": "Tribe Token",
"TRIBL": "Tribal Token", "TRIBL": "Tribal Token",
"TRICK": "TrickyCoin", "TRICK": "TrickyCoin",
"TRICKLE": "Trickle", "TRICKLE": "Trickle",
@ -16882,6 +16978,7 @@
"USDI": "Interest Protocol USDi", "USDI": "Interest Protocol USDi",
"USDJ": "USDJ", "USDJ": "USDJ",
"USDK": "USDK", "USDK": "USDK",
"USDKG": "USDKG",
"USDL": "Lift Dollar", "USDL": "Lift Dollar",
"USDM": "Mountain Protocol", "USDM": "Mountain Protocol",
"USDMA": "USD mars", "USDMA": "USD mars",
@ -16946,6 +17043,7 @@
"UT": "Ulord", "UT": "Ulord",
"UTBAI": "UTB.ai", "UTBAI": "UTB.ai",
"UTC": "UltraCoin", "UTC": "UltraCoin",
"UTED": "United",
"UTG": "UltronGlow", "UTG": "UltronGlow",
"UTH": "Uther", "UTH": "Uther",
"UTHR": "Utherverse Xaeon", "UTHR": "Utherverse Xaeon",
@ -16998,6 +17096,7 @@
"VALU": "Value", "VALU": "Value",
"VALUE": "Value Liquidity", "VALUE": "Value Liquidity",
"VALYR": "Valyr", "VALYR": "Valyr",
"VAM": "Vitalum",
"VAMPIRE": "Vampire Inu", "VAMPIRE": "Vampire Inu",
"VAN": "Vanspor Token", "VAN": "Vanspor Token",
"VANA": "Vana", "VANA": "Vana",
@ -17206,6 +17305,7 @@
"VIZ": "VIZ Token", "VIZ": "VIZ Token",
"VIZION": "ViZion Protocol", "VIZION": "ViZion Protocol",
"VIZSLASWAP": "VizslaSwap", "VIZSLASWAP": "VizslaSwap",
"VK": "VK Token",
"VKNF": "VKENAF", "VKNF": "VKENAF",
"VLC": "Volcano Uni", "VLC": "Volcano Uni",
"VLDY": "Validity", "VLDY": "Validity",
@ -17263,6 +17363,7 @@
"VON": "Vameon", "VON": "Vameon",
"VONE": "Vone", "VONE": "Vone",
"VONSPEED": "Andrea Von Speed", "VONSPEED": "Andrea Von Speed",
"VOOI": "VOOI",
"VOOT": "VootCoin", "VOOT": "VootCoin",
"VOOZ": "Vooz Coin", "VOOZ": "Vooz Coin",
"VOPO": "VOPO", "VOPO": "VOPO",
@ -17443,6 +17544,7 @@
"WATCH": "Yieldwatch", "WATCH": "Yieldwatch",
"WATER": "Waterfall", "WATER": "Waterfall",
"WATERCOIN": "WATER", "WATERCOIN": "WATER",
"WATLAS": "Wrapped Star Atlas (Portal Bridge)",
"WATT": "WATTTON", "WATT": "WATTTON",
"WAVAX": "Wrapped AVAX", "WAVAX": "Wrapped AVAX",
"WAVES": "Waves", "WAVES": "Waves",
@ -17524,6 +17626,7 @@
"WEBSIM": "The Css God by Virtuals", "WEBSIM": "The Css God by Virtuals",
"WEBSS": "Websser", "WEBSS": "Websser",
"WEC": "Whole Earth Coin", "WEC": "Whole Earth Coin",
"WECAN": "Wecan Group",
"WECO": "WECOIN", "WECO": "WECOIN",
"WED": "Wednesday Inu", "WED": "Wednesday Inu",
"WEEBS": "Weebs", "WEEBS": "Weebs",
@ -17561,8 +17664,9 @@
"WEPC": "World Earn & Play Community", "WEPC": "World Earn & Play Community",
"WEPE": "Wall Street Pepe", "WEPE": "Wall Street Pepe",
"WERK": "Werk Family", "WERK": "Werk Family",
"WESHOWTOKEN": "WeShow Token",
"WEST": "Waves Enterprise", "WEST": "Waves Enterprise",
"WET": "WeShow Token", "WET": "HumidiFi Token",
"WETH": "WETH", "WETH": "WETH",
"WETHV1": "WETH v1", "WETHV1": "WETH v1",
"WETHW": "Wrapped EthereumPoW", "WETHW": "Wrapped EthereumPoW",
@ -17617,6 +17721,7 @@
"WHISKEY": "WHISKEY", "WHISKEY": "WHISKEY",
"WHITE": "WhiteRock", "WHITE": "WhiteRock",
"WHITEHEART": "Whiteheart", "WHITEHEART": "Whiteheart",
"WHITEWHALE": "The White Whale",
"WHL": "WhaleCoin", "WHL": "WhaleCoin",
"WHO": "Truwho", "WHO": "Truwho",
"WHOLE": "Whole Network", "WHOLE": "Whole Network",
@ -17827,6 +17932,7 @@
"WPP": "Green Energy Token", "WPP": "Green Energy Token",
"WPR": "WePower", "WPR": "WePower",
"WQT": "Work Quest", "WQT": "Work Quest",
"WR": "White Rat",
"WRC": "Worldcore", "WRC": "Worldcore",
"WREACT": "Wrapped REACT", "WREACT": "Wrapped REACT",
"WRK": "BlockWRK", "WRK": "BlockWRK",
@ -18005,6 +18111,7 @@
"XCHF": "CryptoFranc", "XCHF": "CryptoFranc",
"XCHNG": "Chainge Finance", "XCHNG": "Chainge Finance",
"XCI": "Cannabis Industry Coin", "XCI": "Cannabis Industry Coin",
"XCL": "Xcellar",
"XCLR": "ClearCoin", "XCLR": "ClearCoin",
"XCM": "CoinMetro", "XCM": "CoinMetro",
"XCN": "Onyxcoin", "XCN": "Onyxcoin",
@ -18043,7 +18150,8 @@
"XEC": "eCash", "XEC": "eCash",
"XED": "Exeedme", "XED": "Exeedme",
"XEDO": "XedoAI", "XEDO": "XedoAI",
"XEL": "Xel", "XEL": "XELIS",
"XELCOIN": "Xel",
"XELS": "XELS Coin", "XELS": "XELS Coin",
"XEM": "NEM", "XEM": "NEM",
"XEN": "XEN Crypto", "XEN": "XEN Crypto",
@ -18361,13 +18469,15 @@
"YEAI": "YE AI Agent", "YEAI": "YE AI Agent",
"YEARN": "YearnTogether", "YEARN": "YearnTogether",
"YEC": "Ycash", "YEC": "Ycash",
"YEE": "Yeeco", "YEE": "Yee Token",
"YEECO": "Yeeco",
"YEED": "Yggdrash", "YEED": "Yggdrash",
"YEEHAW": "YEEHAW", "YEEHAW": "YEEHAW",
"YEET": "Yeet", "YEET": "Yeet",
"YEETI": "YEETI 液体", "YEETI": "YEETI 液体",
"YEFI": "YeFi", "YEFI": "YeFi",
"YEL": "Yel.Finance", "YEL": "Yel.Finance",
"YELLOWWHALE": "The Yellow Whale",
"YELP": "Yelpro", "YELP": "Yelpro",
"YEON": "Yeon", "YEON": "Yeon",
"YEPE": "Yellow Pepe", "YEPE": "Yellow Pepe",

6
apps/api/src/services/exchange-rate-data/exchange-rate-data.service.mock.ts

@ -1,5 +1,7 @@
export const ExchangeRateDataServiceMock = { import { ExchangeRateDataService } from './exchange-rate-data.service';
getExchangeRatesByCurrency: ({ targetCurrency }): Promise<any> => {
export const ExchangeRateDataServiceMock: Partial<ExchangeRateDataService> = {
getExchangeRatesByCurrency: ({ targetCurrency }) => {
if (targetCurrency === 'CHF') { if (targetCurrency === 'CHF') {
return Promise.resolve({ return Promise.resolve({
CHFCHF: { CHFCHF: {

3
apps/api/src/services/queues/portfolio-snapshot/portfolio-snapshot.processor.ts

@ -50,7 +50,8 @@ export class PortfolioSnapshotProcessor {
await this.orderService.getOrdersForPortfolioCalculator({ await this.orderService.getOrdersForPortfolioCalculator({
filters: job.data.filters, filters: job.data.filters,
userCurrency: job.data.userCurrency, userCurrency: job.data.userCurrency,
userId: job.data.userId userId: job.data.userId,
withCash: true
}); });
const accountBalanceItems = const accountBalanceItems =

15
apps/client/project.json

@ -26,6 +26,10 @@
"baseHref": "/it/", "baseHref": "/it/",
"translation": "apps/client/src/locales/messages.it.xlf" "translation": "apps/client/src/locales/messages.it.xlf"
}, },
"ko": {
"baseHref": "/ko/",
"translation": "apps/client/src/locales/messages.ko.xlf"
},
"nl": { "nl": {
"baseHref": "/nl/", "baseHref": "/nl/",
"translation": "apps/client/src/locales/messages.nl.xlf" "translation": "apps/client/src/locales/messages.nl.xlf"
@ -110,6 +114,10 @@
"baseHref": "/it/", "baseHref": "/it/",
"localize": ["it"] "localize": ["it"]
}, },
"development-ko": {
"baseHref": "/ko/",
"localize": ["ko"]
},
"development-nl": { "development-nl": {
"baseHref": "/nl/", "baseHref": "/nl/",
"localize": ["nl"] "localize": ["nl"]
@ -213,6 +221,9 @@
"sslKey": "apps/client/localhost.pem" "sslKey": "apps/client/localhost.pem"
}, },
"configurations": { "configurations": {
"development-ca": {
"buildTarget": "client:build:development-ca"
},
"development-de": { "development-de": {
"buildTarget": "client:build:development-de" "buildTarget": "client:build:development-de"
}, },
@ -228,6 +239,9 @@
"development-it": { "development-it": {
"buildTarget": "client:build:development-it" "buildTarget": "client:build:development-it"
}, },
"development-ko": {
"buildTarget": "client:build:development-ko"
},
"development-nl": { "development-nl": {
"buildTarget": "client:build:development-nl" "buildTarget": "client:build:development-nl"
}, },
@ -264,6 +278,7 @@
"messages.es.xlf", "messages.es.xlf",
"messages.fr.xlf", "messages.fr.xlf",
"messages.it.xlf", "messages.it.xlf",
"messages.ko.xlf",
"messages.nl.xlf", "messages.nl.xlf",
"messages.pl.xlf", "messages.pl.xlf",
"messages.pt.xlf", "messages.pt.xlf",

15
apps/client/src/app/components/footer/footer.component.html

@ -122,7 +122,9 @@
</li> </li>
--> -->
<li> <li>
<a href="../zh" title="Ghostfolio in Chinese">Chinese</a> <a href="../zh" title="Ghostfolio in Chinese (简体中文)"
>Chinese (简体中文)</a
>
</li> </li>
<li> <li>
<a href="../de" title="Ghostfolio in Deutsch">Deutsch</a> <a href="../de" title="Ghostfolio in Deutsch">Deutsch</a>
@ -139,6 +141,13 @@
<li> <li>
<a href="../it" title="Ghostfolio in Italiano">Italiano</a> <a href="../it" title="Ghostfolio in Italiano">Italiano</a>
</li> </li>
<!--
<li>
<a href="../ko" title="Ghostfolio in Korean (한국어)"
>Korean (한국어)</a
>
</li>
-->
<li> <li>
<a href="../nl" title="Ghostfolio in Nederlands">Nederlands</a> <a href="../nl" title="Ghostfolio in Nederlands">Nederlands</a>
</li> </li>
@ -153,7 +162,9 @@
</li> </li>
<!-- <!--
<li> <li>
<a href="../uk" title="Ghostfolio in Українська">Українська</a> <a href="../uk" title="Ghostfolio in Ukrainian (Українська)"
>Ukrainian (Українська)</a
>
</li> </li>
--> -->
</ul> </ul>

14
apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.ts

@ -116,11 +116,11 @@ export class GfHoldingDetailDialogComponent implements OnDestroy, OnInit {
}; };
public dataProviderInfo: DataProviderInfo; public dataProviderInfo: DataProviderInfo;
public dataSource: MatTableDataSource<Activity>; public dataSource: MatTableDataSource<Activity>;
public dateOfFirstActivity: string;
public dividendInBaseCurrency: number; public dividendInBaseCurrency: number;
public dividendInBaseCurrencyPrecision = 2; public dividendInBaseCurrencyPrecision = 2;
public dividendYieldPercentWithCurrencyEffect: number; public dividendYieldPercentWithCurrencyEffect: number;
public feeInBaseCurrency: number; public feeInBaseCurrency: number;
public firstBuyDate: string;
public hasPermissionToCreateOwnTag: boolean; public hasPermissionToCreateOwnTag: boolean;
public hasPermissionToReadMarketDataOfOwnAssetProfile: boolean; public hasPermissionToReadMarketDataOfOwnAssetProfile: boolean;
public historicalDataItems: LineChartItem[]; public historicalDataItems: LineChartItem[];
@ -267,10 +267,10 @@ export class GfHoldingDetailDialogComponent implements OnDestroy, OnInit {
activitiesCount, activitiesCount,
averagePrice, averagePrice,
dataProviderInfo, dataProviderInfo,
dateOfFirstActivity,
dividendInBaseCurrency, dividendInBaseCurrency,
dividendYieldPercentWithCurrencyEffect, dividendYieldPercentWithCurrencyEffect,
feeInBaseCurrency, feeInBaseCurrency,
firstBuyDate,
historicalData, historicalData,
investmentInBaseCurrencyWithCurrencyEffect, investmentInBaseCurrencyWithCurrencyEffect,
marketPrice, marketPrice,
@ -298,6 +298,7 @@ export class GfHoldingDetailDialogComponent implements OnDestroy, OnInit {
this.benchmarkDataItems = []; this.benchmarkDataItems = [];
this.countries = {}; this.countries = {};
this.dataProviderInfo = dataProviderInfo; this.dataProviderInfo = dataProviderInfo;
this.dateOfFirstActivity = dateOfFirstActivity;
this.dividendInBaseCurrency = dividendInBaseCurrency; this.dividendInBaseCurrency = dividendInBaseCurrency;
if ( if (
@ -312,7 +313,6 @@ export class GfHoldingDetailDialogComponent implements OnDestroy, OnInit {
dividendYieldPercentWithCurrencyEffect; dividendYieldPercentWithCurrencyEffect;
this.feeInBaseCurrency = feeInBaseCurrency; this.feeInBaseCurrency = feeInBaseCurrency;
this.firstBuyDate = firstBuyDate;
this.hasPermissionToReadMarketDataOfOwnAssetProfile = this.hasPermissionToReadMarketDataOfOwnAssetProfile =
hasPermission( hasPermission(
@ -461,16 +461,16 @@ export class GfHoldingDetailDialogComponent implements OnDestroy, OnInit {
} }
} }
if (isToday(parseISO(this.firstBuyDate))) { if (isToday(parseISO(this.dateOfFirstActivity))) {
// Add average price // Add average price
this.historicalDataItems.push({ this.historicalDataItems.push({
date: this.firstBuyDate, date: this.dateOfFirstActivity,
value: this.averagePrice value: this.averagePrice
}); });
// Add benchmark 1 // Add benchmark 1
this.benchmarkDataItems.push({ this.benchmarkDataItems.push({
date: this.firstBuyDate, date: this.dateOfFirstActivity,
value: averagePrice value: averagePrice
}); });
@ -501,7 +501,7 @@ export class GfHoldingDetailDialogComponent implements OnDestroy, OnInit {
if ( if (
this.benchmarkDataItems[0]?.value === undefined && this.benchmarkDataItems[0]?.value === undefined &&
isSameMonth(parseISO(this.firstBuyDate), new Date()) isSameMonth(parseISO(this.dateOfFirstActivity), new Date())
) { ) {
this.benchmarkDataItems[0].value = this.averagePrice; this.benchmarkDataItems[0].value = this.averagePrice;
} }

4
apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html

@ -215,7 +215,7 @@
[deviceType]="data.deviceType" [deviceType]="data.deviceType"
[isDate]="true" [isDate]="true"
[locale]="data.locale" [locale]="data.locale"
[value]="firstBuyDate" [value]="dateOfFirstActivity"
>First Activity</gf-value >First Activity</gf-value
> >
</div> </div>
@ -400,7 +400,7 @@
<gf-historical-market-data-editor <gf-historical-market-data-editor
[currency]="SymbolProfile?.currency" [currency]="SymbolProfile?.currency"
[dataSource]="SymbolProfile?.dataSource" [dataSource]="SymbolProfile?.dataSource"
[dateOfFirstActivity]="firstBuyDate" [dateOfFirstActivity]="dateOfFirstActivity"
[locale]="data.locale" [locale]="data.locale"
[marketData]="marketDataItems" [marketData]="marketDataItems"
[symbol]="SymbolProfile?.symbol" [symbol]="SymbolProfile?.symbol"

1
apps/client/src/app/components/user-account-settings/user-account-settings.component.ts

@ -89,6 +89,7 @@ export class GfUserAccountSettingsComponent implements OnDestroy, OnInit {
'es', 'es',
'fr', 'fr',
'it', 'it',
'ko',
'nl', 'nl',
'pl', 'pl',
'pt', 'pt',

13
apps/client/src/app/components/user-account-settings/user-account-settings.html

@ -87,7 +87,8 @@
> >
} }
<mat-option value="zh" <mat-option value="zh"
>Chinese (<ng-container i18n>Community</ng-container >Chinese / 简体中文 (<ng-container i18n
>Community</ng-container
>)</mat-option >)</mat-option
> >
<mat-option value="es" <mat-option value="es"
@ -102,6 +103,13 @@
>Italiano (<ng-container i18n>Community</ng-container >Italiano (<ng-container i18n>Community</ng-container
>)</mat-option >)</mat-option
> >
@if (user?.settings?.isExperimentalFeatures) {
<mat-option value="ko"
>Korean / 한국어 (<ng-container i18n
>Community</ng-container
>)</mat-option
>
}
<mat-option value="nl" <mat-option value="nl"
>Nederlands (<ng-container i18n>Community</ng-container >Nederlands (<ng-container i18n>Community</ng-container
>)</mat-option >)</mat-option
@ -120,7 +128,8 @@
> >
@if (user?.settings?.isExperimentalFeatures) { @if (user?.settings?.isExperimentalFeatures) {
<mat-option value="uk" <mat-option value="uk"
>Українська (<ng-container i18n>Community</ng-container >Ukrainian / Українська (<ng-container i18n
>Community</ng-container
>)</mat-option >)</mat-option
> >
} }

5
apps/client/src/app/pages/features/features-page.html

@ -260,8 +260,9 @@
<p class="m-0"> <p class="m-0">
Use Ghostfolio in multiple languages: English, Use Ghostfolio in multiple languages: English,
<!-- Català, --> <!-- Català, -->
Chinese, Dutch, French, German, Italian, Polish, Portuguese, Chinese, Dutch, French, German, Italian,
Spanish and Turkish <!-- Korean, -->
Polish, Portuguese, Spanish and Turkish
<!-- and Ukrainian --> <!-- and Ukrainian -->
are currently supported. are currently supported.
</p> </p>

11
apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts

@ -2,6 +2,7 @@ import { GfBenchmarkComparatorComponent } from '@ghostfolio/client/components/be
import { GfInvestmentChartComponent } from '@ghostfolio/client/components/investment-chart/investment-chart.component'; import { GfInvestmentChartComponent } from '@ghostfolio/client/components/investment-chart/investment-chart.component';
import { ImpersonationStorageService } from '@ghostfolio/client/services/impersonation-storage.service'; import { ImpersonationStorageService } from '@ghostfolio/client/services/impersonation-storage.service';
import { UserService } from '@ghostfolio/client/services/user/user.service'; import { UserService } from '@ghostfolio/client/services/user/user.service';
import { NUMERICAL_PRECISION_THRESHOLD_6_FIGURES } from '@ghostfolio/common/config';
import { import {
HistoricalDataItem, HistoricalDataItem,
InvestmentItem, InvestmentItem,
@ -94,6 +95,7 @@ export class GfAnalysisPageComponent implements OnDestroy, OnInit {
public performanceDataItems: HistoricalDataItem[]; public performanceDataItems: HistoricalDataItem[];
public performanceDataItemsInPercentage: HistoricalDataItem[]; public performanceDataItemsInPercentage: HistoricalDataItem[];
public portfolioEvolutionDataLabel = $localize`Investment`; public portfolioEvolutionDataLabel = $localize`Investment`;
public precision = 2;
public streaks: PortfolioInvestmentsResponse['streaks']; public streaks: PortfolioInvestmentsResponse['streaks'];
public top3: PortfolioPosition[]; public top3: PortfolioPosition[];
public unitCurrentStreak: string; public unitCurrentStreak: string;
@ -317,12 +319,21 @@ export class GfAnalysisPageComponent implements OnDestroy, OnInit {
: valueInPercentage : valueInPercentage
}); });
} }
this.performanceDataItemsInPercentage.push({ this.performanceDataItemsInPercentage.push({
date, date,
value: netPerformanceInPercentageWithCurrencyEffect value: netPerformanceInPercentageWithCurrencyEffect
}); });
} }
if (
this.deviceType === 'mobile' &&
this.performance.currentValueInBaseCurrency >=
NUMERICAL_PRECISION_THRESHOLD_6_FIGURES
) {
this.precision = 0;
}
this.isLoadingInvestmentChart = false; this.isLoadingInvestmentChart = false;
this.updateBenchmarkDataItems(); this.updateBenchmarkDataItems();

64
apps/client/src/app/pages/portfolio/analysis/analysis-page.html

@ -74,6 +74,70 @@
</div> </div>
</div> </div>
} }
<div class="mb-5 row">
<div class="col-lg-4 mb-3 mb-lg-0">
<mat-card appearance="outlined">
<mat-card-content>
<gf-value
i18n
size="large"
[isCurrency]="true"
[locale]="user?.settings?.locale"
[precision]="precision"
[unit]="user?.settings?.baseCurrency"
[value]="
isLoadingInvestmentChart
? undefined
: performance?.currentValueInBaseCurrency
"
>Total amount</gf-value
>
</mat-card-content>
</mat-card>
</div>
<div class="col-lg-4 mb-3 mb-lg-0">
<mat-card appearance="outlined">
<mat-card-content>
<gf-value
i18n
size="large"
[colorizeSign]="true"
[isCurrency]="true"
[locale]="user?.settings?.locale"
[precision]="precision"
[unit]="user?.settings?.baseCurrency"
[value]="
isLoadingInvestmentChart
? undefined
: performance?.netPerformanceWithCurrencyEffect
"
>Change with currency effect</gf-value
>
</mat-card-content>
</mat-card>
</div>
<div class="col-lg-4">
<mat-card appearance="outlined">
<mat-card-content>
<gf-value
i18n
size="large"
[colorizeSign]="true"
[isPercent]="true"
[locale]="user?.settings?.locale"
[value]="
isLoadingInvestmentChart
? undefined
: performance?.netPerformancePercentageWithCurrencyEffect
"
>Performance with currency effect</gf-value
>
</mat-card-content>
</mat-card>
</div>
</div>
<div class="mb-5 row"> <div class="mb-5 row">
<div class="col-lg"> <div class="col-lg">
<gf-benchmark-comparator <gf-benchmark-comparator

1
apps/client/src/app/pages/pricing/pricing-page.component.ts

@ -82,6 +82,7 @@ export class GfPricingPageComponent implements OnDestroy, OnInit {
'frankly', 'frankly',
'Interactive Brokers', 'Interactive Brokers',
'Mintos', 'Mintos',
'Monefit SmartSaver',
'Swissquote', 'Swissquote',
'VIAC', 'VIAC',
'Zak' 'Zak'

5
apps/client/src/app/pages/resources/personal-finance-tools/product-page.component.ts

@ -43,15 +43,16 @@ export class GfProductPageComponent implements OnInit {
isOpenSource: true, isOpenSource: true,
key: 'ghostfolio', key: 'ghostfolio',
languages: [ languages: [
'Chinese (简体中文)',
'Deutsch', 'Deutsch',
'English', 'English',
'Español', 'Español',
'Français', 'Français',
'Italiano', 'Italiano',
'Korean (한국어)',
'Nederlands', 'Nederlands',
'Português', 'Português',
'Türkçe', 'Türkçe'
'简体中文'
], ],
name: 'Ghostfolio', name: 'Ghostfolio',
origin: $localize`Switzerland`, origin: $localize`Switzerland`,

330
apps/client/src/locales/messages.ca.xlf

File diff suppressed because it is too large

330
apps/client/src/locales/messages.de.xlf

File diff suppressed because it is too large

330
apps/client/src/locales/messages.es.xlf

File diff suppressed because it is too large

330
apps/client/src/locales/messages.fr.xlf

File diff suppressed because it is too large

330
apps/client/src/locales/messages.it.xlf

File diff suppressed because it is too large

8737
apps/client/src/locales/messages.ko.xlf

File diff suppressed because it is too large

330
apps/client/src/locales/messages.nl.xlf

File diff suppressed because it is too large

330
apps/client/src/locales/messages.pl.xlf

File diff suppressed because it is too large

330
apps/client/src/locales/messages.pt.xlf

File diff suppressed because it is too large

330
apps/client/src/locales/messages.tr.xlf

File diff suppressed because it is too large

330
apps/client/src/locales/messages.uk.xlf

File diff suppressed because it is too large

327
apps/client/src/locales/messages.xlf

File diff suppressed because it is too large

330
apps/client/src/locales/messages.zh.xlf

File diff suppressed because it is too large

1
libs/common/src/lib/config.ts

@ -193,6 +193,7 @@ export const SUPPORTED_LANGUAGE_CODES = [
'es', 'es',
'fr', 'fr',
'it', 'it',
'ko',
'nl', 'nl',
'pl', 'pl',
'pt', 'pt',

28
libs/common/src/lib/helper.ts

@ -11,7 +11,21 @@ import {
parseISO, parseISO,
subDays subDays
} from 'date-fns'; } from 'date-fns';
import { ca, de, es, fr, it, nl, pl, pt, tr, uk, zhCN } from 'date-fns/locale'; import {
ca,
de,
es,
fr,
it,
ko,
nl,
pl,
pt,
tr,
uk,
zhCN
} from 'date-fns/locale';
import { get, isNil, isString } from 'lodash';
import { import {
DEFAULT_CURRENCY, DEFAULT_CURRENCY,
@ -184,6 +198,8 @@ export function getDateFnsLocale(aLanguageCode: string) {
return fr; return fr;
} else if (aLanguageCode === 'it') { } else if (aLanguageCode === 'it') {
return it; return it;
} else if (aLanguageCode === 'ko') {
return ko;
} else if (aLanguageCode === 'nl') { } else if (aLanguageCode === 'nl') {
return nl; return nl;
} else if (aLanguageCode === 'pl') { } else if (aLanguageCode === 'pl') {
@ -242,6 +258,16 @@ export function getLocale() {
return navigator.language ?? locale; return navigator.language ?? locale;
} }
export function getLowercase(object: object, path: string) {
const value = get(object, path);
if (isNil(value)) {
return '';
}
return isString(value) ? value.toLocaleLowerCase() : value;
}
export function getNumberFormatDecimal(aLocale?: string) { export function getNumberFormatDecimal(aLocale?: string) {
const formatObject = new Intl.NumberFormat(aLocale).formatToParts(9999.99); const formatObject = new Intl.NumberFormat(aLocale).formatToParts(9999.99);

6
libs/common/src/lib/interfaces/info-item.interface.ts

@ -1,4 +1,4 @@
import { Platform, SymbolProfile } from '@prisma/client'; import { SymbolProfile } from '@prisma/client';
import { Statistics } from './statistics.interface'; import { Statistics } from './statistics.interface';
import { SubscriptionOffer } from './subscription-offer.interface'; import { SubscriptionOffer } from './subscription-offer.interface';
@ -13,10 +13,6 @@ export interface InfoItem {
globalPermissions: string[]; globalPermissions: string[];
isDataGatheringEnabled?: string; isDataGatheringEnabled?: string;
isReadOnlyMode?: boolean; isReadOnlyMode?: boolean;
/** @deprecated */
platforms: Platform[];
statistics: Statistics; statistics: Statistics;
subscriptionOffer?: SubscriptionOffer; subscriptionOffer?: SubscriptionOffer;
} }

8
libs/common/src/lib/interfaces/responses/portfolio-holding-response.interface.ts

@ -1,5 +1,4 @@
import { import {
Activity,
Benchmark, Benchmark,
DataProviderInfo, DataProviderInfo,
EnhancedSymbolProfile, EnhancedSymbolProfile,
@ -9,17 +8,18 @@ import {
import { Tag } from '@prisma/client'; import { Tag } from '@prisma/client';
export interface PortfolioHoldingResponse { export interface PortfolioHoldingResponse {
/** @deprecated */
activities: Activity[];
activitiesCount: number; activitiesCount: number;
averagePrice: number; averagePrice: number;
dataProviderInfo: DataProviderInfo; dataProviderInfo: DataProviderInfo;
dateOfFirstActivity: string;
dividendInBaseCurrency: number; dividendInBaseCurrency: number;
dividendYieldPercent: number; dividendYieldPercent: number;
dividendYieldPercentWithCurrencyEffect: number; dividendYieldPercentWithCurrencyEffect: number;
feeInBaseCurrency: number; feeInBaseCurrency: number;
/** @deprecated use dateOfFirstActivity */
firstBuyDate: string; firstBuyDate: string;
grossPerformance: number; grossPerformance: number;
grossPerformancePercent: number; grossPerformancePercent: number;
grossPerformancePercentWithCurrencyEffect: number; grossPerformancePercentWithCurrencyEffect: number;

2
libs/common/src/lib/models/timeline-position.ts

@ -50,6 +50,8 @@ export class TimelinePosition {
@Type(() => Big) @Type(() => Big)
grossPerformanceWithCurrencyEffect: Big; grossPerformanceWithCurrencyEffect: Big;
includeInTotalAssetValue?: boolean;
@Transform(transformToBig, { toClassOnly: true }) @Transform(transformToBig, { toClassOnly: true })
@Type(() => Big) @Type(() => Big)
investment: Big; investment: Big;

9
libs/ui/src/lib/accounts-table/accounts-table.component.html

@ -13,7 +13,14 @@
} }
<div class="overflow-x-auto"> <div class="overflow-x-auto">
<table class="gf-table w-100" mat-table matSort [dataSource]="dataSource"> <table
class="gf-table w-100"
mat-table
matSort
matSortActive="name"
matSortDirection="asc"
[dataSource]="dataSource"
>
<ng-container matColumnDef="status"> <ng-container matColumnDef="status">
<th <th
*matHeaderCellDef *matHeaderCellDef

6
libs/ui/src/lib/accounts-table/accounts-table.component.ts

@ -1,5 +1,5 @@
import { ConfirmationDialogType } from '@ghostfolio/common/enums'; import { ConfirmationDialogType } from '@ghostfolio/common/enums';
import { getLocale } from '@ghostfolio/common/helper'; import { getLocale, getLowercase } from '@ghostfolio/common/helper';
import { GfEntityLogoComponent } from '@ghostfolio/ui/entity-logo'; import { GfEntityLogoComponent } from '@ghostfolio/ui/entity-logo';
import { NotificationService } from '@ghostfolio/ui/notifications'; import { NotificationService } from '@ghostfolio/ui/notifications';
import { GfValueComponent } from '@ghostfolio/ui/value'; import { GfValueComponent } from '@ghostfolio/ui/value';
@ -32,7 +32,6 @@ import {
trashOutline, trashOutline,
walletOutline walletOutline
} from 'ionicons/icons'; } from 'ionicons/icons';
import { get } from 'lodash';
import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader'; import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader';
import { Subject, Subscription } from 'rxjs'; import { Subject, Subscription } from 'rxjs';
@ -133,8 +132,9 @@ export class GfAccountsTableComponent implements OnChanges, OnDestroy {
this.isLoading = true; this.isLoading = true;
this.dataSource = new MatTableDataSource(this.accounts); this.dataSource = new MatTableDataSource(this.accounts);
this.dataSource.sortingDataAccessor = getLowercase;
this.dataSource.sort = this.sort; this.dataSource.sort = this.sort;
this.dataSource.sortingDataAccessor = get;
if (this.accounts) { if (this.accounts) {
this.isLoading = false; this.isLoading = false;

11
libs/ui/src/lib/benchmark/benchmark.component.ts

@ -1,5 +1,9 @@
import { ConfirmationDialogType } from '@ghostfolio/common/enums'; import { ConfirmationDialogType } from '@ghostfolio/common/enums';
import { getLocale, resolveMarketCondition } from '@ghostfolio/common/helper'; import {
getLocale,
getLowercase,
resolveMarketCondition
} from '@ghostfolio/common/helper';
import { import {
AssetProfileIdentifier, AssetProfileIdentifier,
Benchmark, Benchmark,
@ -28,7 +32,7 @@ import { ActivatedRoute, Router, RouterModule } from '@angular/router';
import { IonIcon } from '@ionic/angular/standalone'; import { IonIcon } from '@ionic/angular/standalone';
import { addIcons } from 'ionicons'; import { addIcons } from 'ionicons';
import { ellipsisHorizontal, trashOutline } from 'ionicons/icons'; import { ellipsisHorizontal, trashOutline } from 'ionicons/icons';
import { get, isNumber } from 'lodash'; import { isNumber } from 'lodash';
import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader'; import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader';
import { Subject, takeUntil } from 'rxjs'; import { Subject, takeUntil } from 'rxjs';
@ -111,8 +115,9 @@ export class GfBenchmarkComponent implements OnChanges, OnDestroy {
public ngOnChanges() { public ngOnChanges() {
if (this.benchmarks) { if (this.benchmarks) {
this.dataSource.data = this.benchmarks; this.dataSource.data = this.benchmarks;
this.dataSource.sortingDataAccessor = getLowercase;
this.dataSource.sort = this.sort; this.dataSource.sort = this.sort;
this.dataSource.sortingDataAccessor = get;
this.isLoading = false; this.isLoading = false;
} }

7
libs/ui/src/lib/holdings-table/holdings-table.component.html

@ -19,12 +19,7 @@
</ng-container> </ng-container>
<ng-container matColumnDef="nameWithSymbol"> <ng-container matColumnDef="nameWithSymbol">
<th <th *matHeaderCellDef class="px-1" mat-header-cell mat-sort-header="name">
*matHeaderCellDef
class="px-1"
mat-header-cell
mat-sort-header="symbol"
>
<ng-container i18n>Name</ng-container> <ng-container i18n>Name</ng-container>
</th> </th>
<td *matCellDef="let element" class="line-height-1 px-1" mat-cell> <td *matCellDef="let element" class="line-height-1 px-1" mat-cell>

4
libs/ui/src/lib/holdings-table/holdings-table.component.ts

@ -1,4 +1,4 @@
import { getLocale } from '@ghostfolio/common/helper'; import { getLocale, getLowercase } from '@ghostfolio/common/helper';
import { import {
AssetProfileIdentifier, AssetProfileIdentifier,
PortfolioPosition PortfolioPosition
@ -92,6 +92,8 @@ export class GfHoldingsTableComponent implements OnChanges, OnDestroy {
this.dataSource = new MatTableDataSource(this.holdings); this.dataSource = new MatTableDataSource(this.holdings);
this.dataSource.paginator = this.paginator; this.dataSource.paginator = this.paginator;
this.dataSource.sortingDataAccessor = getLowercase;
this.dataSource.sort = this.sort; this.dataSource.sort = this.sort;
if (this.holdings) { if (this.holdings) {

19
libs/ui/src/lib/services/data.service.ts

@ -424,22 +424,9 @@ export class DataService {
dataSource: DataSource; dataSource: DataSource;
symbol: string; symbol: string;
}) { }) {
return this.http return this.http.get<PortfolioHoldingResponse>(
.get<PortfolioHoldingResponse>( `/api/v1/portfolio/holding/${dataSource}/${symbol}`
`/api/v1/portfolio/holding/${dataSource}/${symbol}` );
)
.pipe(
map((data) => {
if (data.activities) {
for (const order of data.activities) {
order.createdAt = parseISO(order.createdAt as unknown as string);
order.date = parseISO(order.date as unknown as string);
}
}
return data;
})
);
} }
public fetchInfo(): InfoItem { public fetchInfo(): InfoItem {

20
package-lock.json

@ -1,12 +1,12 @@
{ {
"name": "ghostfolio", "name": "ghostfolio",
"version": "2.228.0", "version": "2.231.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "ghostfolio", "name": "ghostfolio",
"version": "2.228.0", "version": "2.231.0",
"hasInstallScript": true, "hasInstallScript": true,
"license": "AGPL-3.0", "license": "AGPL-3.0",
"dependencies": { "dependencies": {
@ -56,7 +56,7 @@
"class-validator": "0.14.3", "class-validator": "0.14.3",
"color": "5.0.3", "color": "5.0.3",
"countries-and-timezones": "3.8.0", "countries-and-timezones": "3.8.0",
"countries-list": "3.2.0", "countries-list": "3.2.2",
"countup.js": "2.9.0", "countup.js": "2.9.0",
"date-fns": "4.1.0", "date-fns": "4.1.0",
"dotenv": "17.2.3", "dotenv": "17.2.3",
@ -125,7 +125,7 @@
"@types/google-spreadsheet": "3.1.5", "@types/google-spreadsheet": "3.1.5",
"@types/jest": "30.0.0", "@types/jest": "30.0.0",
"@types/jsonpath": "0.2.4", "@types/jsonpath": "0.2.4",
"@types/lodash": "4.17.20", "@types/lodash": "4.17.21",
"@types/node": "22.15.17", "@types/node": "22.15.17",
"@types/papaparse": "5.3.7", "@types/papaparse": "5.3.7",
"@types/passport-google-oauth20": "2.0.16", "@types/passport-google-oauth20": "2.0.16",
@ -12455,9 +12455,9 @@
} }
}, },
"node_modules/@types/lodash": { "node_modules/@types/lodash": {
"version": "4.17.20", "version": "4.17.21",
"resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.20.tgz", "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-H3MHACvFUEiujabxhaI/ImO6gUrd8oOurg7LQtS7mbwIXA/cUqWrvBsaeJ23aZEPk1TAYkurjfMbSELfoCXlGA==", "integrity": "sha512-FOvQ0YPD5NOfPgMzJihoT+Za5pdkDJWcbpuj1DjaKZIr/gxodQjY/uWEFlTNqW2ugXHUiL8lRQgw63dzKHZdeQ==",
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },
@ -16319,9 +16319,9 @@
} }
}, },
"node_modules/countries-list": { "node_modules/countries-list": {
"version": "3.2.0", "version": "3.2.2",
"resolved": "https://registry.npmjs.org/countries-list/-/countries-list-3.2.0.tgz", "resolved": "https://registry.npmjs.org/countries-list/-/countries-list-3.2.2.tgz",
"integrity": "sha512-HYHAo2fwEsG3TmbsNdVmIQPHizRlqeYMTtLEAl0IANG/3jRYX7p3NR6VapDqKP0n60TmsRy1dyRjVN5JbywDbA==", "integrity": "sha512-ABJ/RWQBrPWy+hRuZoW+0ooK8p65Eo3WmUZwHm6v4wmfSPznNAKzjy3+UUYrJK2v3182BVsgWxdB6ROidj39kw==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/countup.js": { "node_modules/countup.js": {

6
package.json

@ -1,6 +1,6 @@
{ {
"name": "ghostfolio", "name": "ghostfolio",
"version": "2.228.0", "version": "2.231.0",
"homepage": "https://ghostfol.io", "homepage": "https://ghostfol.io",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"repository": "https://github.com/ghostfolio/ghostfolio", "repository": "https://github.com/ghostfolio/ghostfolio",
@ -100,7 +100,7 @@
"class-validator": "0.14.3", "class-validator": "0.14.3",
"color": "5.0.3", "color": "5.0.3",
"countries-and-timezones": "3.8.0", "countries-and-timezones": "3.8.0",
"countries-list": "3.2.0", "countries-list": "3.2.2",
"countup.js": "2.9.0", "countup.js": "2.9.0",
"date-fns": "4.1.0", "date-fns": "4.1.0",
"dotenv": "17.2.3", "dotenv": "17.2.3",
@ -169,7 +169,7 @@
"@types/google-spreadsheet": "3.1.5", "@types/google-spreadsheet": "3.1.5",
"@types/jest": "30.0.0", "@types/jest": "30.0.0",
"@types/jsonpath": "0.2.4", "@types/jsonpath": "0.2.4",
"@types/lodash": "4.17.20", "@types/lodash": "4.17.21",
"@types/node": "22.15.17", "@types/node": "22.15.17",
"@types/papaparse": "5.3.7", "@types/papaparse": "5.3.7",
"@types/passport-google-oauth20": "2.0.16", "@types/passport-google-oauth20": "2.0.16",

Loading…
Cancel
Save