code: def t_run():
      pred_FN = "./check_pred.csv"
      pred: pd.DataFrame = pd.read_csv(pred_FN)
      pred["datetime"] = pd.to_datetime(pred["datetime"])
      pred = pred.set_index([pred.columns[0], pred.columns[1]])
      pred = pred.iloc[:9000]
      strategy_config = {
          "topk": 50,
          "n_drop": 5,
          "signal": pred,
      }
      report_df, positions = backtest_daily(
          start_time="2017-01-01",
          end_time="2020-08-01",
          strategy=strategy_config,
      )
      print(report_df.head())
      print(positions.keys())
      print(positions[list(positions.keys())[0]])
      return 0
  
file_path: qlib/qlib/contrib/evaluate.py
imports: from __future__ import division
  from __future__ import print_function
  import numpy
  import pandas
  import warnings
  from typing import Union
  from ..log import get_module_logger
  from ..utils import get_date_range
  from ..utils.resam import Freq
  from ..strategy.base import BaseStrategy
  from ..backtest import get_exchange, position, backtest, executor
  from ..data import D
  from ..config import C
  from ..data.dataset.utils import get_level_index
label_desc: Use image node_id 5 for calling a global function with example usage: t_run() and returns: int