class_docstr: Applies some basic trade analysis for a trading strategy (as defined by TradingModel). Use PyFolio to create some
  basic trading statistics. Also allows you test multiple parameters for a specific strategy (like TC).
class_docstr_tok: ["Applies","some","basic","trade","analysis","for","a","trading","strategy","(","as","defined","by","TradingModel",")",".","Use","PyFolio","to","create","some","basic","trading","statistics",".","Also","allows","you","test","multiple","parameters","for","a","specific","strategy","(","like","TC",")","."]
code: def __init__(
      self, engine=ChartConstants().chartfactory_default_engine
  ):
      # self.logger = LoggerManager().getLogger(__name__)
      self.DUMP_PATH = (
          "output_data/"
          + datetime.date.today().strftime("%Y%m%d")
          + " "
      )
      self.DEFAULT_PLOT_ENGINE = engine
      self.chart = Chart(engine=self.DEFAULT_PLOT_ENGINE)
  
      return
  
imports: import datetime
  import pandas
  import copy
  from chartpy import Chart, Style, ChartConstants
  from findatapy.timeseries import Calculations, Timezone
  from findatapy.util.loggermanager import LoggerManager
  from finmarketpy.backtest import Backtest
  from finmarketpy.util.marketconstants import MarketConstants
  from findatapy.util.swimpool import SwimPool
label_desc: Use image node_id 1 to create a new TradeAnalysis object from inherited base classes: object with example: obj = TradeAnalysis(engine)