class_docstr: Based on ffn's GroupStats with a few extra helper methods.
  
  Args:
      * backtests (list): List of backtests
  
  Attributes:
      * backtest_list (list): List of bactests in the same order as provided
      * backtests (dict): Dict of backtests by name
class_docstr_tok: ["Based","on","ffn","'s","GroupStats","with","a","few","extra","helper","methods",".","Args",":","*","backtests","(","list",")",":","List","of","backtests","Attributes",":","*","backtest_list","(","list",")",":","List","of","bactests","in","the","same","order","as","provided","*","backtests","(","dict",")",":","Dict","of","backtests","by","name"]
code: def _get_backtest(self, backtest):
      # based on input order
      if isinstance(backtest, int):
          return self.backtest_list[backtest].name
  
      # default case assume ok
      return backtest
  
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 8 for calling the Result obj's underlying member method code with example usage: obj._get_backtest(backtest) and returns: backtest, self