Browse Source

Merge branch 'main' into Task/remove-deprecated-activities-from-portfolio-holding-response

pull/6157/head
Thomas Kaul 21 hours ago
committed by GitHub
parent
commit
2c5f0dd7d2
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 18
      CHANGELOG.md
  2. 68
      apps/api/src/app/order/order.service.ts
  3. 33
      apps/api/src/app/portfolio/calculator/portfolio-calculator.ts
  4. 144
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator-cash.spec.ts
  5. 6
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator.ts
  6. 13
      apps/api/src/app/portfolio/portfolio.service.ts
  7. 152
      apps/api/src/assets/cryptocurrencies/cryptocurrencies.json
  8. 6
      apps/api/src/services/exchange-rate-data/exchange-rate-data.service.mock.ts
  9. 3
      apps/api/src/services/queues/portfolio-snapshot/portfolio-snapshot.processor.ts
  10. 2
      apps/client/src/app/components/admin-jobs/admin-jobs.component.ts
  11. 3
      apps/client/src/app/components/admin-market-data/admin-market-data.component.ts
  12. 2
      apps/client/src/app/components/admin-market-data/admin-market-data.service.ts
  13. 3
      apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts
  14. 3
      apps/client/src/app/components/admin-market-data/create-asset-profile-dialog/create-asset-profile-dialog.component.ts
  15. 3
      apps/client/src/app/components/admin-overview/admin-overview.component.ts
  16. 3
      apps/client/src/app/components/admin-platform/admin-platform.component.ts
  17. 3
      apps/client/src/app/components/admin-settings/admin-settings.component.ts
  18. 3
      apps/client/src/app/components/admin-users/admin-users.component.ts
  19. 2
      apps/client/src/app/components/user-detail-dialog/user-detail-dialog.component.ts
  20. 4
      apps/client/src/environments/environment.prod.ts
  21. 4
      apps/client/src/environments/environment.ts
  22. 5
      apps/client/src/main.ts
  23. 4
      eslint.config.cjs
  24. 11
      libs/common/src/lib/helper.ts
  25. 2
      libs/common/src/lib/models/timeline-position.ts
  26. 9
      libs/ui/src/lib/accounts-table/accounts-table.component.html
  27. 6
      libs/ui/src/lib/accounts-table/accounts-table.component.ts
  28. 4
      libs/ui/src/lib/assistant/assistant.component.ts
  29. 11
      libs/ui/src/lib/benchmark/benchmark.component.ts
  30. 5
      libs/ui/src/lib/environment/environment.interface.ts
  31. 7
      libs/ui/src/lib/environment/environment.token.ts
  32. 2
      libs/ui/src/lib/environment/index.ts
  33. 4
      libs/ui/src/lib/historical-market-data-editor/historical-market-data-editor-dialog/historical-market-data-editor-dialog.component.ts
  34. 7
      libs/ui/src/lib/holdings-table/holdings-table.component.html
  35. 4
      libs/ui/src/lib/holdings-table/holdings-table.component.ts
  36. 10
      libs/ui/src/lib/services/admin.service.ts
  37. 1
      libs/ui/src/lib/services/index.ts
  38. 12
      package-lock.json
  39. 4
      package.json

18
CHANGELOG.md

@ -9,10 +9,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Deprecated `activities` in the endpoint `GET api/v1/portfolio/holding/:dataSource/:symbol`
- Removed the deprecated `activities` from the endpoint `GET api/v1/portfolio/holding/:dataSource/:symbol`
## 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`
- Moved the admin service to `@ghostfolio/ui/services`
- Moved the data service to `@ghostfolio/ui/services`
- Refactored the dividend import
- Refreshed the cryptocurrencies list
### 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 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

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

@ -329,19 +329,39 @@ export class OrderService {
* performance tracking based on exchange rate fluctuations.
*
* @param cashDetails - The cash balance details.
* @param filters - Optional filters to apply.
* @param userCurrency - The base currency of the user.
* @param userId - The ID of the user.
* @returns A response containing the list of synthetic cash activities.
*/
public async getCashOrders({
cashDetails,
filters = [],
userCurrency,
userId
}: {
cashDetails: CashDetails;
filters?: Filter[];
userCurrency: string;
userId: string;
}): Promise<ActivitiesResponse> {
const filtersByAssetClass = filters.filter(({ type }) => {
return type === 'ASSET_CLASS';
});
if (
filtersByAssetClass.length > 0 &&
!filtersByAssetClass.find(({ id }) => {
return id === AssetClass.LIQUIDITY;
})
) {
// If asset class filters are present and none of them is liquidity, return an empty response
return {
activities: [],
count: 0
};
}
const activities: Activity[] = [];
for (const account of cashDetails.accounts) {
@ -723,46 +743,50 @@ export class OrderService {
/**
* Retrieves all orders required for the portfolio calculator, including both standard asset orders
* and 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.
* and optional synthetic orders representing cash activities.
*/
@LogPerformance
public async getOrdersForPortfolioCalculator({
filters,
userCurrency,
userId
userId,
withCash = false
}: {
/** Optional filters to apply to the orders. */
filters?: Filter[];
/** The base currency of the user. */
userCurrency: string;
/** The ID of the user. */
userId: string;
/** Whether to include cash activities in the result. */
withCash?: boolean;
}) {
const nonCashOrders = await this.getOrders({
const orders = await this.getOrders({
filters,
userCurrency,
userId,
withExcludedAccountsAndActivities: false // TODO
});
const cashDetails = await this.accountService.getCashDetails({
filters,
userId,
currency: userCurrency
});
if (withCash) {
const cashDetails = await this.accountService.getCashDetails({
filters,
userId,
currency: userCurrency
});
const cashOrders = await this.getCashOrders({
cashDetails,
userCurrency,
userId
});
const cashOrders = await this.getCashOrders({
cashDetails,
filters,
userCurrency,
userId
});
return {
activities: [...nonCashOrders.activities, ...cashOrders.activities],
count: nonCashOrders.count + cashOrders.count
};
orders.activities.push(...cashOrders.activities);
orders.count += cashOrders.count;
}
return orders;
}
public async getStatisticsByCurrency(

33
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 { Logger } from '@nestjs/common';
import { AssetSubClass } from '@prisma/client';
import { Big } from 'big.js';
import { plainToClass } from 'class-transformer';
import {
@ -389,27 +390,33 @@ export abstract class PortfolioCalculator {
hasAnySymbolMetricsErrors = hasAnySymbolMetricsErrors || hasErrors;
valuesBySymbol[item.symbol] = {
currentValues,
currentValuesWithCurrencyEffect,
investmentValuesAccumulated,
investmentValuesAccumulatedWithCurrencyEffect,
investmentValuesWithCurrencyEffect,
netPerformanceValues,
netPerformanceValuesWithCurrencyEffect,
timeWeightedInvestmentValues,
timeWeightedInvestmentValuesWithCurrencyEffect
};
const includeInTotalAssetValue =
item.assetSubClass !== AssetSubClass.CASH;
if (includeInTotalAssetValue) {
valuesBySymbol[item.symbol] = {
currentValues,
currentValuesWithCurrencyEffect,
investmentValuesAccumulated,
investmentValuesAccumulatedWithCurrencyEffect,
investmentValuesWithCurrencyEffect,
netPerformanceValues,
netPerformanceValuesWithCurrencyEffect,
timeWeightedInvestmentValues,
timeWeightedInvestmentValuesWithCurrencyEffect
};
}
positions.push({
feeInBaseCurrency,
includeInTotalAssetValue,
timeWeightedInvestment,
timeWeightedInvestmentWithCurrencyEffect,
dividend: totalDividend,
dividendInBaseCurrency: totalDividendInBaseCurrency,
averagePrice: item.averagePrice,
currency: item.currency,
dataSource: item.dataSource,
dividend: totalDividend,
dividendInBaseCurrency: totalDividendInBaseCurrency,
fee: item.fee,
firstBuyDate: item.firstBuyDate,
grossPerformance: !hasErrors ? (grossPerformance ?? null) : null,

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

@ -14,10 +14,11 @@ import { ExchangeRateDataServiceMock } from '@ghostfolio/api/services/exchange-r
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 { 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 { DataSource } from '@prisma/client';
import { Big } from 'big.js';
import { randomUUID } from 'node:crypto';
jest.mock('@ghostfolio/api/app/portfolio/current-rate.service', () => {
@ -190,7 +191,8 @@ describe('PortfolioCalculator', () => {
const { activities } = await orderService.getOrdersForPortfolioCalculator(
{
userCurrency: 'CHF',
userId: userDummyData.id
userId: userDummyData.id,
withCash: true
}
);
@ -200,90 +202,88 @@ describe('PortfolioCalculator', () => {
values: []
});
const accountBalanceItems =
await accountBalanceService.getAccountBalanceItems({
userCurrency: 'CHF',
userId: userDummyData.id
});
const portfolioCalculator = portfolioCalculatorFactory.createCalculator({
accountBalanceItems,
activities,
calculationType: PerformanceCalculationType.ROAI,
currency: 'CHF',
userId: userDummyData.id
});
const { historicalData } = await portfolioCalculator.computeSnapshot();
const portfolioSnapshot = await portfolioCalculator.computeSnapshot();
const historicalData20231231 = historicalData.find(({ date }) => {
return date === '2023-12-31';
});
const historicalData20240101 = historicalData.find(({ date }) => {
return date === '2024-01-01';
});
const historicalData20241231 = historicalData.find(({ date }) => {
return date === '2024-12-31';
const position = portfolioSnapshot.positions.find(({ symbol }) => {
return symbol === 'USD';
});
/**
* 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
* 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
* Total account balance: 2000 USD * 0.85 = 1700 CHF (using the exchange rate on 2024-12-31)
* Value in base currency: 2000 USD * 0.91 = 1820 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
expect(position).toMatchObject<TimelinePosition>({
averagePrice: new Big(1),
currency: 'USD',
dataSource: DataSource.YAHOO,
dividend: new Big(0),
dividendInBaseCurrency: new Big(0),
fee: new Big(0),
feeInBaseCurrency: new Big(0),
firstBuyDate: '2023-12-31',
grossPerformance: new Big(0),
grossPerformancePercentage: new Big(0),
grossPerformancePercentageWithCurrencyEffect: new Big(
'0.08211603004634809014'
),
grossPerformanceWithCurrencyEffect: new Big(70),
includeInTotalAssetValue: false,
investment: new Big(1820),
investmentWithCurrencyEffect: new Big(1750),
marketPrice: null,
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)
});
/**
* Investment value with currency effect: 1000 USD * 0.90 = 900 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 investment: 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>({
date: '2024-12-31',
investmentValueWithCurrencyEffect: 900,
netPerformance: 0,
netPerformanceInPercentage: 0,
netPerformanceInPercentageWithCurrencyEffect: 0.058823529411764705,
netPerformanceWithCurrencyEffect: 50,
netWorth: 1800,
totalAccountBalance: 0,
totalInvestment: 1820,
totalInvestmentValueWithCurrencyEffect: 1750,
value: 1820,
valueWithCurrencyEffect: 1800
expect(portfolioSnapshot).toMatchObject({
hasErrors: false,
totalFeesWithCurrencyEffect: new Big(0),
totalInterestWithCurrencyEffect: new Big(0),
totalLiabilitiesWithCurrencyEffect: new Big(0)
});
});
});

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

@ -34,7 +34,11 @@ export class RoaiPortfolioCalculator extends PortfolioCalculator {
let totalTimeWeightedInvestment = 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) {
totalFeesWithCurrencyEffect = totalFeesWithCurrencyEffect.plus(
currentPosition.feeInBaseCurrency

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

@ -1871,18 +1871,17 @@ export class PortfolioService {
netPerformanceWithCurrencyEffect
} = performance;
const dividendInBaseCurrency =
await portfolioCalculator.getDividendInBaseCurrency();
const totalEmergencyFund = this.getTotalEmergencyFund({
emergencyFundHoldingsValueInBaseCurrency,
userSettings: user.settings?.settings as UserSettings
});
const fees = await portfolioCalculator.getFeesInBaseCurrency();
const dateOfFirstActivity = portfolioCalculator.getStartDate();
const firstOrderDate = portfolioCalculator.getStartDate();
const dividendInBaseCurrency =
await portfolioCalculator.getDividendInBaseCurrency();
const fees = await portfolioCalculator.getFeesInBaseCurrency();
const interest = await portfolioCalculator.getInterestInBaseCurrency();
const liabilities =
@ -1940,7 +1939,7 @@ export class PortfolioService {
.minus(liabilities)
.toNumber();
const daysInMarket = differenceInDays(new Date(), firstOrderDate);
const daysInMarket = differenceInDays(new Date(), dateOfFirstActivity);
const annualizedPerformancePercent = getAnnualizedPerformancePercent({
daysInMarket,
@ -1959,6 +1958,7 @@ export class PortfolioService {
annualizedPerformancePercent,
annualizedPerformancePercentWithCurrencyEffect,
cash,
dateOfFirstActivity,
excludedAccountsAndActivities,
netPerformance,
netPerformancePercentage,
@ -1971,7 +1971,6 @@ export class PortfolioService {
}).length,
committedFunds: committedFunds.toNumber(),
currentValueInBaseCurrency: currentValueInBaseCurrency.toNumber(),
dateOfFirstActivity: firstOrderDate,
dividendInBaseCurrency: dividendInBaseCurrency.toNumber(),
emergencyFund: {
assets: emergencyFundHoldingsValueInBaseCurrency,

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

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

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

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

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

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

2
apps/client/src/app/components/admin-jobs/admin-jobs.component.ts

@ -1,4 +1,3 @@
import { AdminService } from '@ghostfolio/client/services/admin.service';
import { UserService } from '@ghostfolio/client/services/user/user.service';
import {
DATA_GATHERING_QUEUE_PRIORITY_HIGH,
@ -9,6 +8,7 @@ import {
import { getDateWithTimeFormatString } from '@ghostfolio/common/helper';
import { AdminJobs, User } from '@ghostfolio/common/interfaces';
import { NotificationService } from '@ghostfolio/ui/notifications';
import { AdminService } from '@ghostfolio/ui/services';
import { CommonModule } from '@angular/common';
import {

3
apps/client/src/app/components/admin-market-data/admin-market-data.component.ts

@ -1,4 +1,3 @@
import { AdminService } from '@ghostfolio/client/services/admin.service';
import { UserService } from '@ghostfolio/client/services/user/user.service';
import {
DEFAULT_PAGE_SIZE,
@ -17,7 +16,7 @@ import { GfSymbolPipe } from '@ghostfolio/common/pipes';
import { GfActivitiesFilterComponent } from '@ghostfolio/ui/activities-filter';
import { translate } from '@ghostfolio/ui/i18n';
import { GfPremiumIndicatorComponent } from '@ghostfolio/ui/premium-indicator';
import { DataService } from '@ghostfolio/ui/services';
import { AdminService, DataService } from '@ghostfolio/ui/services';
import { GfValueComponent } from '@ghostfolio/ui/value';
import { SelectionModel } from '@angular/cdk/collections';

2
apps/client/src/app/components/admin-market-data/admin-market-data.service.ts

@ -1,4 +1,3 @@
import { AdminService } from '@ghostfolio/client/services/admin.service';
import { ghostfolioScraperApiSymbolPrefix } from '@ghostfolio/common/config';
import { ConfirmationDialogType } from '@ghostfolio/common/enums';
import {
@ -11,6 +10,7 @@ import {
AdminMarketDataItem
} from '@ghostfolio/common/interfaces';
import { NotificationService } from '@ghostfolio/ui/notifications';
import { AdminService } from '@ghostfolio/ui/services';
import { Injectable } from '@angular/core';
import { EMPTY, catchError, finalize, forkJoin } from 'rxjs';

3
apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts

@ -1,5 +1,4 @@
import { AdminMarketDataService } from '@ghostfolio/client/components/admin-market-data/admin-market-data.service';
import { AdminService } from '@ghostfolio/client/services/admin.service';
import { UserService } from '@ghostfolio/client/services/user/user.service';
import {
ASSET_CLASS_MAPPING,
@ -24,7 +23,7 @@ import { translate } from '@ghostfolio/ui/i18n';
import { GfLineChartComponent } from '@ghostfolio/ui/line-chart';
import { NotificationService } from '@ghostfolio/ui/notifications';
import { GfPortfolioProportionChartComponent } from '@ghostfolio/ui/portfolio-proportion-chart';
import { DataService } from '@ghostfolio/ui/services';
import { AdminService, DataService } from '@ghostfolio/ui/services';
import { GfSymbolAutocompleteComponent } from '@ghostfolio/ui/symbol-autocomplete';
import { GfValueComponent } from '@ghostfolio/ui/value';

3
apps/client/src/app/components/admin-market-data/create-asset-profile-dialog/create-asset-profile-dialog.component.ts

@ -1,10 +1,9 @@
import { AdminService } from '@ghostfolio/client/services/admin.service';
import {
DEFAULT_CURRENCY,
ghostfolioPrefix,
PROPERTY_CURRENCIES
} from '@ghostfolio/common/config';
import { DataService } from '@ghostfolio/ui/services';
import { AdminService, DataService } from '@ghostfolio/ui/services';
import { GfSymbolAutocompleteComponent } from '@ghostfolio/ui/symbol-autocomplete';
import {

3
apps/client/src/app/components/admin-overview/admin-overview.component.ts

@ -1,4 +1,3 @@
import { AdminService } from '@ghostfolio/client/services/admin.service';
import { CacheService } from '@ghostfolio/client/services/cache.service';
import { UserService } from '@ghostfolio/client/services/user/user.service';
import {
@ -19,7 +18,7 @@ import {
} from '@ghostfolio/common/interfaces';
import { hasPermission, permissions } from '@ghostfolio/common/permissions';
import { NotificationService } from '@ghostfolio/ui/notifications';
import { DataService } from '@ghostfolio/ui/services';
import { AdminService, DataService } from '@ghostfolio/ui/services';
import { GfValueComponent } from '@ghostfolio/ui/value';
import { CommonModule } from '@angular/common';

3
apps/client/src/app/components/admin-platform/admin-platform.component.ts

@ -1,10 +1,9 @@
import { AdminService } from '@ghostfolio/client/services/admin.service';
import { UserService } from '@ghostfolio/client/services/user/user.service';
import { CreatePlatformDto, UpdatePlatformDto } from '@ghostfolio/common/dtos';
import { ConfirmationDialogType } from '@ghostfolio/common/enums';
import { GfEntityLogoComponent } from '@ghostfolio/ui/entity-logo';
import { NotificationService } from '@ghostfolio/ui/notifications';
import { DataService } from '@ghostfolio/ui/services';
import { AdminService, DataService } from '@ghostfolio/ui/services';
import {
ChangeDetectionStrategy,

3
apps/client/src/app/components/admin-settings/admin-settings.component.ts

@ -1,7 +1,6 @@
import { GfAdminPlatformComponent } from '@ghostfolio/client/components/admin-platform/admin-platform.component';
import { GfAdminTagComponent } from '@ghostfolio/client/components/admin-tag/admin-tag.component';
import { GfDataProviderStatusComponent } from '@ghostfolio/client/components/data-provider-status/data-provider-status.component';
import { AdminService } from '@ghostfolio/client/services/admin.service';
import { UserService } from '@ghostfolio/client/services/user/user.service';
import { PROPERTY_API_KEY_GHOSTFOLIO } from '@ghostfolio/common/config';
import { ConfirmationDialogType } from '@ghostfolio/common/enums';
@ -15,7 +14,7 @@ import { publicRoutes } from '@ghostfolio/common/routes/routes';
import { GfEntityLogoComponent } from '@ghostfolio/ui/entity-logo';
import { NotificationService } from '@ghostfolio/ui/notifications';
import { GfPremiumIndicatorComponent } from '@ghostfolio/ui/premium-indicator';
import { DataService } from '@ghostfolio/ui/services';
import { AdminService, DataService } from '@ghostfolio/ui/services';
import { GfValueComponent } from '@ghostfolio/ui/value';
import { CommonModule } from '@angular/common';

3
apps/client/src/app/components/admin-users/admin-users.component.ts

@ -1,6 +1,5 @@
import { UserDetailDialogParams } from '@ghostfolio/client/components/user-detail-dialog/interfaces/interfaces';
import { GfUserDetailDialogComponent } from '@ghostfolio/client/components/user-detail-dialog/user-detail-dialog.component';
import { AdminService } from '@ghostfolio/client/services/admin.service';
import { ImpersonationStorageService } from '@ghostfolio/client/services/impersonation-storage.service';
import { TokenStorageService } from '@ghostfolio/client/services/token-storage.service';
import { UserService } from '@ghostfolio/client/services/user/user.service';
@ -20,7 +19,7 @@ import { hasPermission, permissions } from '@ghostfolio/common/permissions';
import { internalRoutes } from '@ghostfolio/common/routes/routes';
import { NotificationService } from '@ghostfolio/ui/notifications';
import { GfPremiumIndicatorComponent } from '@ghostfolio/ui/premium-indicator';
import { DataService } from '@ghostfolio/ui/services';
import { AdminService, DataService } from '@ghostfolio/ui/services';
import { GfValueComponent } from '@ghostfolio/ui/value';
import { CommonModule } from '@angular/common';

2
apps/client/src/app/components/user-detail-dialog/user-detail-dialog.component.ts

@ -1,7 +1,7 @@
import { AdminService } from '@ghostfolio/client/services/admin.service';
import { AdminUserResponse } from '@ghostfolio/common/interfaces';
import { GfDialogFooterComponent } from '@ghostfolio/ui/dialog-footer';
import { GfDialogHeaderComponent } from '@ghostfolio/ui/dialog-header';
import { AdminService } from '@ghostfolio/ui/services';
import { GfValueComponent } from '@ghostfolio/ui/value';
import {

4
apps/client/src/environments/environment.prod.ts

@ -1,4 +1,6 @@
export const environment = {
import type { GfEnvironment } from '@ghostfolio/ui/environment';
export const environment: GfEnvironment = {
lastPublish: '{BUILD_TIMESTAMP}',
production: true,
stripePublicKey: ''

4
apps/client/src/environments/environment.ts

@ -1,8 +1,10 @@
import type { GfEnvironment } from '@ghostfolio/ui/environment';
// This file can be replaced during build by using the `fileReplacements` array.
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`.
export const environment = {
export const environment: GfEnvironment = {
lastPublish: null,
production: false,
stripePublicKey: ''

5
apps/client/src/main.ts

@ -1,5 +1,6 @@
import { InfoResponse } from '@ghostfolio/common/interfaces';
import { filterGlobalPermissions } from '@ghostfolio/common/permissions';
import { GF_ENVIRONMENT } from '@ghostfolio/ui/environment';
import { GfNotificationModule } from '@ghostfolio/ui/notifications';
import { Platform } from '@angular/cdk/platform';
@ -89,6 +90,10 @@ import { environment } from './environments/environment';
provide: DateAdapter,
useClass: CustomDateAdapter
},
{
provide: GF_ENVIRONMENT,
useValue: environment
},
{
provide: MAT_DATE_FORMATS,
useValue: DateFormats

4
eslint.config.cjs

@ -28,9 +28,7 @@ module.exports = [
onlyDependOnLibsWithTags: ['*']
}
],
enforceBuildableLibDependency: true,
// Temporary fix, should be removed eventually
ignoredCircularDependencies: [['client', 'ui']]
enforceBuildableLibDependency: true
}
],
'@typescript-eslint/no-extra-semi': 'error',

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

@ -12,6 +12,7 @@ import {
subDays
} from 'date-fns';
import { ca, de, es, fr, it, nl, pl, pt, tr, uk, zhCN } from 'date-fns/locale';
import { get, isNil, isString } from 'lodash';
import {
DEFAULT_CURRENCY,
@ -242,6 +243,16 @@ export function getLocale() {
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) {
const formatObject = new Intl.NumberFormat(aLocale).formatToParts(9999.99);

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

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

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

@ -13,7 +13,14 @@
}
<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">
<th
*matHeaderCellDef

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

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

4
libs/ui/src/lib/assistant/assistant.component.ts

@ -1,11 +1,9 @@
/* eslint-disable @nx/enforce-module-boundaries */
import { AdminService } from '@ghostfolio/client/services/admin.service';
import { getAssetProfileIdentifier } from '@ghostfolio/common/helper';
import { Filter, PortfolioPosition, User } from '@ghostfolio/common/interfaces';
import { InternalRoute } from '@ghostfolio/common/routes/interfaces/internal-route.interface';
import { internalRoutes } from '@ghostfolio/common/routes/routes';
import { AccountWithPlatform, DateRange } from '@ghostfolio/common/types';
import { DataService } from '@ghostfolio/ui/services';
import { AdminService, DataService } from '@ghostfolio/ui/services';
import { FocusKeyManager } from '@angular/cdk/a11y';
import {

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

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

5
libs/ui/src/lib/environment/environment.interface.ts

@ -0,0 +1,5 @@
export interface GfEnvironment {
lastPublish: string | null;
production: boolean;
stripePublicKey: string;
}

7
libs/ui/src/lib/environment/environment.token.ts

@ -0,0 +1,7 @@
import { InjectionToken } from '@angular/core';
import { GfEnvironment } from './environment.interface';
export const GF_ENVIRONMENT = new InjectionToken<GfEnvironment>(
'GF_ENVIRONMENT'
);

2
libs/ui/src/lib/environment/index.ts

@ -0,0 +1,2 @@
export * from './environment.interface';
export * from './environment.token';

4
libs/ui/src/lib/historical-market-data-editor/historical-market-data-editor-dialog/historical-market-data-editor-dialog.component.ts

@ -1,6 +1,4 @@
/* eslint-disable @nx/enforce-module-boundaries */
import { AdminService } from '@ghostfolio/client/services/admin.service';
import { DataService } from '@ghostfolio/ui/services';
import { AdminService, DataService } from '@ghostfolio/ui/services';
import {
ChangeDetectionStrategy,

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

@ -19,12 +19,7 @@
</ng-container>
<ng-container matColumnDef="nameWithSymbol">
<th
*matHeaderCellDef
class="px-1"
mat-header-cell
mat-sort-header="symbol"
>
<th *matHeaderCellDef class="px-1" mat-header-cell mat-sort-header="name">
<ng-container i18n>Name</ng-container>
</th>
<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 {
AssetProfileIdentifier,
PortfolioPosition
@ -92,6 +92,8 @@ export class GfHoldingsTableComponent implements OnChanges, OnDestroy {
this.dataSource = new MatTableDataSource(this.holdings);
this.dataSource.paginator = this.paginator;
this.dataSource.sortingDataAccessor = getLowercase;
this.dataSource.sort = this.sort;
if (this.holdings) {

10
apps/client/src/app/services/admin.service.ts → libs/ui/src/lib/services/admin.service.ts

@ -21,22 +21,22 @@ import {
Filter
} from '@ghostfolio/common/interfaces';
import { DateRange } from '@ghostfolio/common/types';
import { GF_ENVIRONMENT, GfEnvironment } from '@ghostfolio/ui/environment';
import { DataService } from '@ghostfolio/ui/services';
import { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { Inject, Injectable } from '@angular/core';
import { SortDirection } from '@angular/material/sort';
import { DataSource, MarketData, Platform } from '@prisma/client';
import { JobStatus } from 'bull';
import { environment } from '../../environments/environment';
@Injectable({
providedIn: 'root'
})
export class AdminService {
public constructor(
private dataService: DataService,
@Inject(GF_ENVIRONMENT) private environment: GfEnvironment,
private http: HttpClient
) {}
@ -124,7 +124,7 @@ export class AdminService {
});
return this.http.get<DataProviderGhostfolioStatusResponse>(
`${environment.production ? 'https://ghostfol.io' : ''}/api/v2/data-providers/ghostfolio/status`,
`${this.environment.production ? 'https://ghostfol.io' : ''}/api/v2/data-providers/ghostfolio/status`,
{ headers }
);
}
@ -276,7 +276,7 @@ export class AdminService {
scraperConfiguration,
symbol
}: AssetProfileIdentifier & UpdateAssetProfileDto['scraperConfiguration']) {
return this.http.post<any>(
return this.http.post<{ price: number }>(
`/api/v1/admin/market-data/${dataSource}/${symbol}/test`,
{
scraperConfiguration

1
libs/ui/src/lib/services/index.ts

@ -1 +1,2 @@
export * from './admin.service';
export * from './data.service';

12
package-lock.json

@ -1,12 +1,12 @@
{
"name": "ghostfolio",
"version": "2.228.0",
"version": "2.229.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "ghostfolio",
"version": "2.228.0",
"version": "2.229.0",
"hasInstallScript": true,
"license": "AGPL-3.0",
"dependencies": {
@ -125,7 +125,7 @@
"@types/google-spreadsheet": "3.1.5",
"@types/jest": "30.0.0",
"@types/jsonpath": "0.2.4",
"@types/lodash": "4.17.20",
"@types/lodash": "4.17.21",
"@types/node": "22.15.17",
"@types/papaparse": "5.3.7",
"@types/passport-google-oauth20": "2.0.16",
@ -12455,9 +12455,9 @@
}
},
"node_modules/@types/lodash": {
"version": "4.17.20",
"resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.20.tgz",
"integrity": "sha512-H3MHACvFUEiujabxhaI/ImO6gUrd8oOurg7LQtS7mbwIXA/cUqWrvBsaeJ23aZEPk1TAYkurjfMbSELfoCXlGA==",
"version": "4.17.21",
"resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-FOvQ0YPD5NOfPgMzJihoT+Za5pdkDJWcbpuj1DjaKZIr/gxodQjY/uWEFlTNqW2ugXHUiL8lRQgw63dzKHZdeQ==",
"dev": true,
"license": "MIT"
},

4
package.json

@ -1,6 +1,6 @@
{
"name": "ghostfolio",
"version": "2.228.0",
"version": "2.229.0",
"homepage": "https://ghostfol.io",
"license": "AGPL-3.0",
"repository": "https://github.com/ghostfolio/ghostfolio",
@ -169,7 +169,7 @@
"@types/google-spreadsheet": "3.1.5",
"@types/jest": "30.0.0",
"@types/jsonpath": "0.2.4",
"@types/lodash": "4.17.20",
"@types/lodash": "4.17.21",
"@types/node": "22.15.17",
"@types/papaparse": "5.3.7",
"@types/passport-google-oauth20": "2.0.16",

Loading…
Cancel
Save