code: def runstrategy():
      args = parse_args()
  
      cerebro = bt.Cerebro()  # Create a cerebro
  
      data = BidAskCSV(dataname=args.data, dtformat=args.dtformat)
      cerebro.adddata(data)  # Add the 1st data to cerebro
      # Add the strategy to cerebro
      cerebro.addstrategy(St, sma=args.sma, period=args.period)
      cerebro.run()
  
file_path: backtrader/samples/data-bid-ask/bidask.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import argparse
  import backtrader
  import backtrader.feeds
  import backtrader.indicators
label_desc: Use image node_id 2 for calling a global function with example usage: runstrategy() without return types