code: def _create_bar_data(self, universe_func):
      return BarData(
          data_portal=self.data_portal,
          simulation_dt_func=self.get_simulation_dt,
          data_frequency=self.sim_params.data_frequency,
          trading_calendar=self.algo.trading_calendar,
          restrictions=self.restrictions,
          universe_func=universe_func,
      )
  
file_path: zipline/zipline/gens/tradesimulation.py
imports: from copy import copy
  from logbook import Logger, Processor
  from zipline.finance.order import ORDER_STATUS
  from zipline.protocol import BarData
  from zipline.utils.api_support import ZiplineAPI
  from zipline.utils.compat import ExitStack
  from six import viewkeys
  from zipline.gens.sim_engine import BAR, SESSION_START, SESSION_END, MINUTE_END, BEFORE_TRADING_START_BAR
label_desc: Use image node_id 3 for calling the AlgorithmSimulator obj's underlying member method code with example usage: obj._create_bar_data(universe_func) and returns: BarData