code: def _get_benchmark_handler(self, last_trade, freq='minutely'):
          '''
          Setup a custom benchmark handler or let zipline manage it
          '''
          return LiveBenchmark(
              last_trade, frequency=freq).surcharge_market_data \
              if utils.is_live(last_trade) else Nonf _get_benchmark_handler(self, last_trade, freq='minutely'):
          '''
          Setup a custom benchmark handler or let zipline manage it
          '''
          return LiveBenchmark(
              last_trade, frequency=freq).surcharge_market_data \
              if utils.is_live(last_trade) else None
docs: Setup a custom benchmark handler or let zipline manage it