mockInit = ({
      orderLimitEnabled,
      lastBuyPrice,
      maxOpenTrades,
      numberOfOpenTrades
    }) => {
      const clonedRawData = _.cloneDeep(orgRawData);

      clonedRawData.symbolConfiguration.botOptions.orderLimit = {
        enabled: orderLimitEnabled,
        maxBuyOpenOrders: 4,
        maxOpenTrades
      };

      clonedRawData.sell = {
        lastBuyPrice
      };

      const { cache } = require('../../../helpers');

      cacheMock = cache;
      cacheMock.hget = jest.fn().mockResolvedValue(numberOfOpenTrades);

      return clonedRawData;
    }
Sample candle
         {
            eventType: 'kline',
            eventTime: 1657974109931,
            symbol: 'BTCUSDT',
            startTime: 1657972800000,
            closeTime: 1657976399999,
            firstTradeId: 1522267,
            lastTradeId: 1524026,
            open: '20616.72000000',
            high: '20630.48000000',
            low: '20595.11000000',
            close: '20629.04000000',
            volume: '93.17161900',
            trades: 1760,
            interval: '1h',
            isFinal: false,
            quoteVolume: '1920563.72755657',
            buyVolume: '53.56450300',
            quoteBuyVolume: '1104135.90026963'
          }