code: def parse_args():
      parser = argparse.ArgumentParser(description="MultiData Strategy")
  
      parser.add_argument(
          "--data0",
          "-d0",
          default="../../datas/orcl-1995-2014.txt",
          help="1st data into the system",
      )
  
      parser.add_argument(
          "--data1",
          "-d1",
          default="../../datas/yhoo-1996-2014.txt",
          help="2nd data into the system",
      )
  
      parser.add_argument(
          "--fromdate",
          "-f",
          default="2003-01-01",
          help="Starting date in YYYY-MM-DD format",
      )
  
      parser.add_argument(
          "--todate",
          "-t",
          default="2005-12-31",
          help="Starting date in YYYY-MM-DD format",
      )
  
      parser.add_argument(
          "--period",
          default=15,
          type=int,
          help="Period to apply to the Simple Moving Average",
      )
  
      parser.add_argument(
          "--cash", default=100000, type=int, help="Starting Cash"
      )
  
      parser.add_argument(
          "--runnext",
          action="store_true",
          help="Use next by next instead of runonce",
      )
  
      parser.add_argument(
          "--nopreload",
          action="store_true",
          help="Do not preload the data",
      )
  
      parser.add_argument(
          "--oldsync",
          action="store_true",
          help="Use old data synchronization method",
      )
  
      parser.add_argument(
          "--commperc",
          default=0.005,
          type=float,
          help="Percentage commission (0.005 is 0.5%%",
      )
  
      parser.add_argument(
          "--stake",
          default=10,
          type=int,
          help="Stake to apply in each operation",
      )
  
      parser.add_argument(
          "--plot", "-p", action="store_true", help="Plot the read data"
      )
  
      parser.add_argument(
          "--numfigs",
          "-n",
          default=1,
          help="Plot using numfigs figures",
      )
  
      return parser.parse_args()
  
file_path: backtrader/samples/multidata-strategy/multidata-strategy.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import argparse
  import datetime
  import backtrader
  import backtrader.feeds
  import backtrader.indicators
label_desc: Use image node_id 2 for calling a global function with example usage: parse_args() and returns: parser