This commit is contained in:
Adrian Brzeziński 2022-11-29 18:15:47 +01:00
parent 0d7c899730
commit d03ee455ba
1 changed files with 2 additions and 2 deletions

View File

@ -199,11 +199,11 @@ const TradingViewChart = () => {
setTimeout(async () => { setTimeout(async () => {
if (kLineChart) { if (kLineChart) {
const newData = (await generatedKLineDataList(1))[0] const newData = (await generatedKLineDataList(1))[0]
newData.timestamp += 10000 * 60 newData.timestamp += 30000 * 60
kLineChart.updateData(newData) kLineChart.updateData(newData)
} }
updateData(kLineChart) updateData(kLineChart)
}, 10000) }, 30000)
} }
useEffect(() => { useEffect(() => {