code: def _gen_orders(self, dealt_num_for_1000) -> pd.DataFrame:
      headers = [
          "datetime",
          "instrument",
          "amount",
          "direction",
      ]
      orders = [
          # test cash limit for buying
          ["20200103", self.TEST_INST, "1000", "buy"],
          # test min_cost for buying
          ["20200106", self.TEST_INST, "1", "buy"],
          # test held stock limit for selling
          ["20200107", self.TEST_INST, "1000", "sell"],
          # test cash limit for buying
          ["20200108", self.TEST_INST, "1000", "buy"],
          # test min_cost for selling
          ["20200109", self.TEST_INST, "1", "sell"],
          # test selling all stocks
          ["20200110", self.TEST_INST, str(dealt_num_for_1000), "sell"],
      ]
      return pd.DataFrame(orders, columns=headers).set_index(
          ["datetime", "instrument"]
      )
  
file_path: qlib/tests/backtest/test_file_strategy.py
imports: import unittest
  from qlib.backtest import backtest
  from qlib.tests import TestAutoData
  import pandas
  from pathlib import Path
  from qlib.data import D
  import numpy
label_desc: Use image node_id 1 for calling the FileStrTest obj's underlying member method code with example usage: obj._gen_orders(dealt_num_for_1000) and returns: pd