code: def get_configs(order: Order) -> Tuple[dict, dict]:
      executor_config = {
          "class": "NestedExecutor",
          "module_path": "qlib.backtest.executor",
          "kwargs": {
              "time_per_step": "1day",
              "inner_strategy": {
                  "class": "ProxySAOEStrategy",
                  "module_path": "qlib.rl.order_execution.strategy",
              },
              "track_data": True,
              "inner_executor": {
                  "class": "NestedExecutor",
                  "module_path": "qlib.backtest.executor",
                  "kwargs": {
                      "time_per_step": "30min",
                      "inner_strategy": {
                          "class": "TWAPStrategy",
                          "module_path": "qlib.contrib.strategy.rule_strategy",
                      },
                      "inner_executor": {
                          "class": "SimulatorExecutor",
                          "module_path": "qlib.backtest.executor",
                          "kwargs": {
                              "time_per_step": "1min",
                              "verbose": False,
                              "trade_type": SimulatorExecutor.TT_SERIAL,
                              "generate_report": False,
                              "track_data": True,
                          },
                      },
                      "track_data": True,
                  },
              },
              "start_time": pd.Timestamp(order.start_time.date()),
              "end_time": pd.Timestamp(order.start_time.date()),
          },
      }
  
      exchange_config = {
          "freq": "1min",
          "codes": [order.stock_id],
          "limit_threshold": ("$ask == 0", "$bid == 0"),
          "deal_price": (
              "If($ask == 0, $bid, $ask)",
              "If($bid == 0, $ask, $bid)",
          ),
          "volume_threshold": {
              "all": (
                  "cum",
                  "0.2 * DayCumsum($volume, '9:30', '14:29')",
              ),
              "buy": ("current", "$askV1"),
              "sell": ("current", "$bidV1"),
          },
          "open_cost": 0.0005,
          "close_cost": 0.0015,
          "min_cost": 5.0,
          "trade_unit": None,
      }
  
      return executor_config, exchange_config
  
file_path: qlib/tests/rl/test_qlib_simulator.py
imports: import sys
  from pathlib import Path
  from typing import Tuple
  import pandas
  import pytest
  from qlib.backtest.decision import Order, OrderDir
  from qlib.backtest.executor import SimulatorExecutor
  from qlib.rl.order_execution import CategoricalActionInterpreter
  from qlib.rl.order_execution.simulator_qlib import SingleAssetOrderExecution
label_desc: Use image node_id 3 for calling a global function with example usage: get_configs(order) and returns: executor_config,  exchange_config