saveCandle = async (logger, collectionName, candle) => {
  const { key, interval, time } = candle;
  await mongo.upsertOne(
    logger,
    collectionName,
    {
      key,
      time,
      interval
    },
    candle
  );
}
Save or update symbol candle based on time

@param {*} logger
@param collectionName
@param candle