code: def setUpClass(cls):
      cls.data = sample_data
      cls.close = cls.data["close"]
      cls.islong = (
          cls.close > pandas_ta.sma(cls.close, length=8)
      ).astype(int)
      cls.pctret = pandas_ta.percent_return(cls.close, cumulative=False)
      cls.logret = pandas_ta.percent_return(cls.close, cumulative=False)
  
file_path: pandas-ta/tests/test_indicator_performance.py
imports: from .config import sample_data
  from .context import pandas_ta
  from unittest import TestCase
  from pandas import Series
label_desc: Use image node_id 1 for calling the TestPerformace obj's underlying member method code with example usage: obj.setUpClass(cls) without return types