diff --git a/apps/bbgo-backtest-report/components/TradingViewChart.js b/apps/bbgo-backtest-report/components/TradingViewChart.js index b338a4415..f1056bb26 100644 --- a/apps/bbgo-backtest-report/components/TradingViewChart.js +++ b/apps/bbgo-backtest-report/components/TradingViewChart.js @@ -392,6 +392,7 @@ const TradingViewChart = (props) => { chart.current.timeScale().fitContent(); return () => { chart.current.remove(); + setData(null); }; }, [props.runID, currentInterval, data]) @@ -421,8 +422,6 @@ const TradingViewChart = (props) => { {intervals.map((interval) => { return