Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Feature/increase fear and greed index to 10 days (#525)
Thomas Kaul069660afe4ab
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 3503770e10..a41523ec94 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0### Changed+- Increased the historical data chart of the _Fear & Greed Index_ (market mood) to 10 days- Upgraded `prisma` from version `2.30.2` to `3.6.0`## 1.86.0 - 04.12.2021diff --git a/apps/api/src/app/symbol/symbol.service.ts b/apps/api/src/app/symbol/symbol.service.tsindex 3f377c5513..cdd13da8d7 100644--- a/apps/api/src/app/symbol/symbol.service.ts+++ b/apps/api/src/app/symbol/symbol.service.ts@@ -32,7 +32,7 @@ export class SymbolService {let historicalData: HistoricalDataItem[];if (includeHistoricalData) {- const days = 7;+ const days = 10;const marketData = await this.marketDataService.getRange({dateQuery: { gte: subDays(new Date(), days) },diff --git a/apps/client/src/app/components/home-market/home-market.html b/apps/client/src/app/components/home-market/home-market.htmlindex 2705530bc0..c721d4c783 100644--- a/apps/client/src/app/components/home-market/home-market.html+++ b/apps/client/src/app/components/home-market/home-market.html@@ -12,7 +12,7 @@<div class="no-gutters row w-100"><div class="col-xs-12 col-md-8 offset-md-2"><div class="mb-2 text-center text-muted">- <small i18n>Last 7 Days</small>+ <small i18n>Last 10 Days</small></div><gf-line-chartclass="mb-5"