code: function(from, to) {
    config.backtest.daterange = {
      from: moment.unix(from).utc().format(),
      to: moment.unix(to).utc().format(),
    };
    util.setConfig(config);
  }
docs: helper to store the evenutally detected daterange.