From dd7e3869588d433fabd510c368d26af7c3d42839 Mon Sep 17 00:00:00 2001 From: halil Date: Sun, 15 Dec 2024 23:23:31 +0300 Subject: [PATCH] hotfix: refac stock intervals --- frontend/src/components/markets/stocks/StockChartSection.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/markets/stocks/StockChartSection.js b/frontend/src/components/markets/stocks/StockChartSection.js index b0cfcec5..c0608adb 100644 --- a/frontend/src/components/markets/stocks/StockChartSection.js +++ b/frontend/src/components/markets/stocks/StockChartSection.js @@ -3,8 +3,9 @@ import { createChart } from "lightweight-charts"; import "../../../styles/markets/stocks/StockOverviewPage.css"; import { StockService } from "../../../service/stockService"; + const periods = ['1d', '5d', '1mo', '3mo', '1y', '5y']; -const intervals = ['15m', '1h', '1d', '1d', '1wk', '1mo']; +const intervals = ['5m', '15m', '90m', '1d', '1d', '1wk']; const periodLabels = ['1D', '5D', '1M', '3M', '1Y', '5Y']; const StockChartSection = ({ indexId }) => {