diff --git a/CHANGELOG.md b/CHANGELOG.md index c7082db36..4f6caaeae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Improved the style of the assistant - Reused the value component in the data providers management of the admin control panel +- Set the market state of exchange rate symbols to `open` in the _Financial Modeling Prep_ service - Restructured the content of the pricing page - Migrated the `@ghostfolio/ui/assistant` component to control flow - Migrated the `@ghostfolio/ui/value` component to control flow @@ -25,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Improved the language localization for German (`de`) - Improved the language localization for Italian (`it`) - Improved the language localization for Polish (`pl`) +- Improved the language localization for Turkish (`tr`) - Upgraded the _Stripe_ dependencies ## 2.170.0 - 2025-06-11 diff --git a/apps/api/src/services/data-provider/financial-modeling-prep/financial-modeling-prep.service.ts b/apps/api/src/services/data-provider/financial-modeling-prep/financial-modeling-prep.service.ts index d0e674c4d..a9f171f13 100644 --- a/apps/api/src/services/data-provider/financial-modeling-prep/financial-modeling-prep.service.ts +++ b/apps/api/src/services/data-provider/financial-modeling-prep/financial-modeling-prep.service.ts @@ -22,6 +22,7 @@ import { LookupItem, LookupResponse } from '@ghostfolio/common/interfaces'; +import { MarketState } from '@ghostfolio/common/types'; import { Injectable, Logger } from '@nestjs/common'; import { @@ -378,12 +379,22 @@ export class FinancialModelingPrepService implements DataProviderInterface { ); for (const { price, symbol } of quotes) { + let marketState: MarketState = 'delayed'; + + if ( + isCurrency( + symbol.substring(0, symbol.length - DEFAULT_CURRENCY.length) + ) + ) { + marketState = 'open'; + } + response[symbol] = { + marketState, currency: currencyBySymbolMap[symbol]?.currency, dataProviderInfo: this.getDataProviderInfo(), dataSource: DataSource.FINANCIAL_MODELING_PREP, - marketPrice: price, - marketState: 'delayed' + marketPrice: price }; } } catch (error) { diff --git a/apps/client/src/locales/messages.ca.xlf b/apps/client/src/locales/messages.ca.xlf index 1b0d9fde4..2e80b5f9e 100644 --- a/apps/client/src/locales/messages.ca.xlf +++ b/apps/client/src/locales/messages.ca.xlf @@ -4677,7 +4677,7 @@ Absolute Asset Performance - Absolute Asset Performance + Rendiment absolut dels actius apps/client/src/app/pages/portfolio/analysis/analysis-page.html 102 @@ -4685,7 +4685,7 @@ Asset Performance - Asset Performance + Rendiment de l’actiu apps/client/src/app/pages/portfolio/analysis/analysis-page.html 123 @@ -4693,7 +4693,7 @@ Absolute Currency Performance - Absolute Currency Performance + Rendiment absolut de la moneda apps/client/src/app/pages/portfolio/analysis/analysis-page.html 145 @@ -4701,7 +4701,7 @@ Currency Performance - Currency Performance + Rendiment de la moneda apps/client/src/app/pages/portfolio/analysis/analysis-page.html 169 @@ -4709,7 +4709,7 @@ Absolute Net Performance - Absolute Net Performance + Rendiment net absolut apps/client/src/app/pages/portfolio/analysis/analysis-page.html 192 @@ -4717,7 +4717,7 @@ Net Performance - Net Performance + Rendiment net apps/client/src/app/pages/portfolio/analysis/analysis-page.html 211 @@ -4725,7 +4725,7 @@ Top - Top + A dalt apps/client/src/app/pages/portfolio/analysis/analysis-page.html 239 @@ -4733,7 +4733,7 @@ Bottom - Bottom + A baix apps/client/src/app/pages/portfolio/analysis/analysis-page.html 288 @@ -4741,7 +4741,7 @@ Portfolio Evolution - Portfolio Evolution + Evolució de la cartera apps/client/src/app/pages/portfolio/analysis/analysis-page.html 341 @@ -4749,7 +4749,7 @@ Investment Timeline - Investment Timeline + Cronologia de la inversió apps/client/src/app/pages/portfolio/analysis/analysis-page.html 368 @@ -4757,7 +4757,7 @@ Current Streak - Current Streak + Ratxa actual apps/client/src/app/pages/portfolio/analysis/analysis-page.html 389 @@ -4765,7 +4765,7 @@ Longest Streak - Longest Streak + Ratxa més llarga apps/client/src/app/pages/portfolio/analysis/analysis-page.html 398 @@ -4773,7 +4773,7 @@ Dividend Timeline - Dividend Timeline + Cronologia de dividends apps/client/src/app/pages/portfolio/analysis/analysis-page.html 425 @@ -4781,7 +4781,7 @@ FIRE - FIRE + FOC apps/client/src/app/pages/portfolio/fire/fire-page.html 4 @@ -4789,7 +4789,7 @@ Calculator - Calculator + Calculadora apps/client/src/app/pages/portfolio/fire/fire-page.html 7 diff --git a/apps/client/src/locales/messages.tr.xlf b/apps/client/src/locales/messages.tr.xlf index 9df6d2060..d4f5808d9 100644 --- a/apps/client/src/locales/messages.tr.xlf +++ b/apps/client/src/locales/messages.tr.xlf @@ -7586,7 +7586,7 @@ Emergency Fund: Set up - Emergency Fund: Set up + Acil Durum Fonu: Kurulum apps/client/src/app/pages/i18n/i18n-page.html 14 @@ -7594,7 +7594,7 @@ No emergency fund has been set up - No emergency fund has been set up + Acil durum fonu oluşturulmadı apps/client/src/app/pages/i18n/i18n-page.html 15 @@ -7602,7 +7602,7 @@ An emergency fund has been set up - An emergency fund has been set up + Acil durum fonu kuruldu apps/client/src/app/pages/i18n/i18n-page.html 18 @@ -7610,7 +7610,7 @@ Fee Ratio - Fee Ratio + Ücret Oranı apps/client/src/app/pages/i18n/i18n-page.html 21 @@ -7618,7 +7618,7 @@ The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) - The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) + Ücretler, ilk yatırımınızın %${thresholdMax} kadarını aşıyor (${feeRatio}%) apps/client/src/app/pages/i18n/i18n-page.html 22 @@ -7626,7 +7626,7 @@ The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) - The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) + Ücretler, ilk yatırımınızın %${thresholdMax}'ını (${feeRatio}%) aşmaz apps/client/src/app/pages/i18n/i18n-page.html 26 @@ -7634,7 +7634,7 @@ Name - Name + İsim libs/ui/src/lib/benchmark/benchmark.component.html 11 @@ -7642,7 +7642,7 @@ Find holding or page... - Find holding or page... + Holding veya sayfayı bulun... libs/ui/src/lib/assistant/assistant.component.ts 152 @@ -7650,7 +7650,7 @@ Quick Links - Quick Links + Hızlı Bağlantılar libs/ui/src/lib/assistant/assistant.html 45 @@ -7658,7 +7658,7 @@ Asset Profiles - Asset Profiles + Varlık Profilleri libs/ui/src/lib/assistant/assistant.html 96