code: def run(*backtests):
      """
      Runs a series of backtests and returns a Result
      object containing the results of the backtests.
  
      Args:
          * backtest (*list): List of backtests.
  
      Returns:
          Result
  
      """
      # run each backtest
      for bkt in tqdm(backtests):
          bkt.run()
  
      return Result(*backtests)
  
imports: from __future__ import division
  from copy import deepcopy
  import bt
  import ffn
  import pandas
  import numpy
  from matplotlib import pyplot
  import pyprind
  from tqdm import tqdm
label_desc: Use image node_id 1 for calling a global function with example usage: run() and returns: Result