code: def runstrat(args=None):
      args = parse_args(args)
      cerebro = bt.Cerebro()
  
      dataname = "../../datas/2006-day-001.txt"  # data feed
  
      data0 = bt.feeds.BacktraderCSVData(
          dataname=dataname, name="data0"
      )
      cerebro.adddata(data0)
  
      data1 = bt.feeds.BacktraderCSVData(
          dataname=dataname, name="data1"
      )
      data1.addfilter(close_changer)
      if not args.no_comp:
          data1.compensate(data0)
      data1.plotinfo.plotmaster = data0
      if args.sameaxis:
          data1.plotinfo.sameaxis = True
      cerebro.adddata(data1)
  
      cerebro.addstrategy(St)  # sample strategy
  
      cerebro.addobserver(
          bt.obs.Broker
      )  # removed below with stdstats=False
      cerebro.addobserver(
          bt.obs.Trades
      )  # removed below with stdstats=False
  
      cerebro.broker.set_coc(True)
      cerebro.run(stdstats=False)  # execute
      cerebro.plot(volume=False)
  
file_path: backtrader/samples/future-spot/future-spot.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import argparse
  import random
  import backtrader
label_desc: Use image node_id 2 for calling a global function with example usage: runstrat(args) without return types