code: def parse_args(pargs=None):
      parser = argparse.ArgumentParser(
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
          description=("Compensation example"),
      )
  
      parser.add_argument(
          "--no-comp", required=False, action="store_true"
      )
      parser.add_argument(
          "--sameaxis", required=False, action="store_true"
      )
      return parser.parse_args(pargs)
  
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 3 for calling a global function with example usage: parse_args(pargs) and returns: parser