class_docstr: Useful commands
  - run all tests: pytest examples/orderbook_data/example.py
  - run a single test:  pytest -s --pdb --disable-warnings examples/orderbook_data/example.py::TestClass::test_basic01
class_docstr_tok: ["Useful","commands","-","run","all","tests",":","pytest","examples\/orderbook_data\/example.py","-","run","a","single","test",":","pytest","-s","--","pdb","--","disable-warnings","examples\/orderbook_data\/example.py",":",":TestClass",":",":test_basic01"]
code: def test_exp_08_2(self):
      # NOTE: It depends on transaction frequency
      expr8_2 = (
          lambda funccode, ordercode, time_interval_short, time_interval_long: f"TResample(Gt({self.expr7_3_init(funccode, ordercode, time_interval_short)},{self.expr7_3_init(funccode, ordercode, time_interval_long)}), '1min', 'mean')"
      )
  
      exprs = [
          expr8_2("C", "Gt", "10", "900"),
          expr8_2("C", "Lt", "10", "900"),
      ]
      names = [
          "ca_relative_intensity_10s_900s",
          "cb_relative_intensity_10s_900s",
      ]
  
      df = D.features(
          self.stocks_list, fields=exprs, freq="transaction"
      )
      df.columns = names
      print(df)
  
imports: from arctic.arctic import Arctic
  import qlib
  from qlib.data import D
  import unittest
label_desc: Use image node_id 19 for calling the TestClass obj's underlying member method code with example usage: obj.test_exp_08_2() without return types