code: def main():
      bf = TestBarFeed(bar.Frequency.DAY)
      bars = [
          bar.BasicBar(
              datetime.datetime(2000, 1, 1),
              10,
              10,
              10,
              10,
              10,
              10,
              bar.Frequency.DAY,
          ),
          bar.BasicBar(
              datetime.datetime(2000, 1, 2),
              10,
              10,
              10,
              10,
              10,
              10,
              bar.Frequency.DAY,
          ),
      ]
      bf.addBarsFromSequence("orcl", bars)
  
      logger.getLogger().setLevel(logging.DEBUG)
      strat = BacktestingStrategy(bf, 1)
      strat.run()
  
file_path: pyalgotrade/testcases/logger_test_2.py
imports: import datetime
  import logging
  from pyalgotrade import strategy
  from pyalgotrade import bar
  from pyalgotrade import logger
  from pyalgotrade.barfeed import membf
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types