Browse Source
Task/round Fear & Greed index in Twitter bot service (#7318)
* Round value
* Update changelog
pull/7319/head^2
Thomas Kaul
1 day ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
3 additions and
2 deletions
-
CHANGELOG.md
-
apps/api/src/services/twitter-bot/twitter-bot.service.ts
|
|
@ -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 |
|
|
|
|
|
@ -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(); |
|
|
|
|
|
|
|
|
|