Browse Source

Increase to 10 days

pull/525/head
Thomas 4 years ago
parent
commit
54c61b3921
  1. 2
      apps/api/src/app/symbol/symbol.service.ts
  2. 2
      apps/client/src/app/components/home-market/home-market.html

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