code: def parse_args():
      parser = argparse.ArgumentParser(description="MultiData Strategy")
  
      parser.add_argument(
          "--data",
          "-d",
          default="../../datas/2006-01-02-volume-min-001.txt",
          help="data to add to the system",
      )
  
      parser.add_argument(
          "--prestart",
          default="08:00",
          help="Start time for the Session Filter",
      )
  
      parser.add_argument(
          "--start",
          default="09:15",
          help="Start time for the Session Filter",
      )
  
      parser.add_argument(
          "--end",
          "-te",
          default="17:15",
          help="End time for the Session Filter",
      )
  
      parser.add_argument(
          "--fromdate",
          "-f",
          default="2006-01-01",
          help="Starting date in YYYY-MM-DD format",
      )
  
      parser.add_argument(
          "--todate",
          "-t",
          default="2006-12-31",
          help="Starting date in YYYY-MM-DD format",
      )
  
      parser.add_argument(
          "--writer",
          "-w",
          action="store_true",
          help="Add a writer to cerebro",
      )
  
      parser.add_argument(
          "--wrcsv",
          "-wc",
          action="store_true",
          help="Enable CSV Output in the writer",
      )
  
      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/relative-volume/relative-volume.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import argparse
  import datetime
  import backtrader
  import backtrader.feeds
  from relvolbybar import RelativeVolumeByBar
label_desc: Use image node_id 2 for calling a global function with example usage: parse_args() and returns: parser