Browse Source

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

* Round value

* Update changelog
pull/7319/head^2
Thomas Kaul 2 days ago
committed by GitHub
parent
commit
6c948d39eb
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 4
      apps/api/src/services/twitter-bot/twitter-bot.service.ts

1
CHANGELOG.md

@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- Hardened the validation of the countries in the asset profile endpoints - 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 - Set the change detection strategy to `OnPush` in the _X-ray_ page
## 3.25.0 - 2026-07-12 ## 3.25.0 - 2026-07-12

4
apps/api/src/services/twitter-bot/twitter-bot.service.ts

@ -59,9 +59,9 @@ export class TwitterBotService implements OnModuleInit {
symbolItem.marketPrice symbolItem.marketPrice
); );
let status = `Current market mood is ${emoji} ${text.toLowerCase()} (${ let status = `Current market mood is ${emoji} ${text.toLowerCase()} (${round(
symbolItem.marketPrice symbolItem.marketPrice
}/100)`; )}/100)`;
const benchmarkListing = await this.getBenchmarkListing(); const benchmarkListing = await this.getBenchmarkListing();

Loading…
Cancel
Save