 candlestick series
      const candleStickData = generateCandlestickData();

      // Create the Main Series (Candlesticks)
      const mainSeries = chart.addSeries(LightweightCharts.CandlestickSeries);
      // Set the data for the Main Series
      mainSeries.setData(candleStickData);

      // Adding a window resize event handler to resize the chart when
      // the window size changes.
      // Note: for more advanced examples (when the chart doesn't fill the entire window)
      // you may need to us