code: def run(args=None):
      cerebro = bt.Cerebro(stdstats=False)
      store = bt.stores.IBStore(
          port=7497,
          # _debug=True
      )
  
      data0 = store.getdata(
          dataname=ib_symbol,
          timeframe=bt.TimeFrame.Ticks,
      )
      cerebro.resampledata(
          data0, timeframe=bt.TimeFrame.Seconds, compression=compression
      )
  
      data1 = store.getdata(
          dataname=ib_symbol, timeframe=bt.TimeFrame.Ticks, what="ASK"
      )
      cerebro.resampledata(
          data1, timeframe=bt.TimeFrame.Seconds, compression=compression
      )
  
      cerebro.broker = store.getbroker()
      cerebro.addstrategy(St)
      cerebro.run()
  
file_path: backtrader/samples/ib-cash-bid-ask/ib-cash-bid-ask.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import backtrader
  import datetime
label_desc: Use image node_id 1 for calling a global function with example usage: run(args) without return types