Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Task/round Fear & Greed index in Twitter bot service (#7318)

Thomas Kaul6c948d39eb62
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 270ea6f090..c2b3109164 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Hardened the validation of the countries in the asset profile endpoints
+- Rounded the value of the _Fear & Greed Index_ (market mood) in the twitter bot service
- Set the change detection strategy to `OnPush` in the _X-ray_ page
## 3.25.0 - 2026-07-12
diff --git a/apps/api/src/services/twitter-bot/twitter-bot.service.ts b/apps/api/src/services/twitter-bot/twitter-bot.service.ts
index 8dffddf7b2..2dbed82d21 100644
--- a/apps/api/src/services/twitter-bot/twitter-bot.service.ts
+++ b/apps/api/src/services/twitter-bot/twitter-bot.service.ts
@@ -59,9 +59,9 @@ export class TwitterBotService implements OnModuleInit {
symbolItem.marketPrice
);
- let status = `Current market mood is ${emoji} ${text.toLowerCase()} (${
+ let status = `Current market mood is ${emoji} ${text.toLowerCase()} (${round(
symbolItem.marketPrice
- }/100)`;
+ )}/100)`;
const benchmarkListing = await this.getBenchmarkListing();