Browse Source

Feature/increase fear and greed index to 10 days (#525)

* Increase to 10 days

* Update changelog
pull/526/head
Thomas Kaul 3 years ago
committed by GitHub
parent
commit
069660afe4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 2
      apps/api/src/app/symbol/symbol.service.ts
  3. 2
      apps/client/src/app/components/home-market/home-market.html

1
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.2021

2
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) },

2
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-chart
class="mb-5"

Loading…
Cancel
Save