code: def _test_ingest_daily(self):
      exchange_name = "bitfinex"
      data_frequency = "minute"
      include_symbols = "neo_btc"
  
      # exchange_name = 'poloniex'
      # data_frequency = 'daily'
      # include_symbols = 'eth_btc'
  
      # start = pd.to_datetime('2017-1-1', utc=True)
      # end = pd.to_datetime('2017-10-16', utc=True)
      # periods = get_periods_range(start, end, data_frequency)
  
      start = None
      end = None
      exchange = get_exchange(exchange_name)
      exchange_bundle = ExchangeBundle(exchange)
  
      log.info("ingesting exchange bundle {}".format(exchange_name))
      exchange_bundle.ingest(
          data_frequency=data_frequency,
          include_symbols=include_symbols,
          exclude_symbols=None,
          start=start,
          end=end,
          show_progress=True,
      )
  
      symbols = include_symbols.split(",")
      assets = []
      for pair_symbol in symbols:
          assets.append(exchange.get_asset(pair_symbol))
  
      reader = exchange_bundle.get_reader(data_frequency)
      start_dt = reader.first_trading_day
      end_dt = reader.last_available_dt
  
      if data_frequency == "daily":
          end_dt = end_dt - pd.Timedelta(hours=23, minutes=59)
  
      for asset in assets:
          arrays = reader.load_raw_arrays(
              sids=[asset.sid],
              fields=["close"],
              start_dt=start_dt,
              end_dt=end_dt,
          )
          print(
              "found {} rows for {} ingestion\n{}".format(
                  len(arrays[0]), asset.symbol, arrays[0]
              )
          )
      pass
  
imports: import os
  import tempfile
  from logging import getLogger
  import pandas
  from catalyst.exchange.exchange_bcolz import BcolzExchangeBarReader, BcolzExchangeBarWriter
  from catalyst.exchange.exchange_bundle import ExchangeBundle, BUNDLE_NAME_TEMPLATE
  from catalyst.exchange.utils.bundle_utils import get_bcolz_chunk, get_df_from_arrays
  from catalyst.exchange.utils.datetime_utils import get_start_dt
  from catalyst.exchange.utils.exchange_utils import get_exchange_folder
  from catalyst.exchange.utils.factory import get_exchange
  from catalyst.exchange.utils.stats_utils import df_to_string
  from catalyst.utils.paths import ensure_directory
label_desc: Use image node_id 5 for calling the TestExchangeBundle obj's underlying member method code with example usage: obj._test_ingest_daily() without return types