Skip to content
TheChatArchiveThe Chat Archive
Mistralmistral-medium-2505· Mistral AIHugging Face LMArena Human Preference 140K

基于 qlib ,model 生成一个最简单的传统,使用双均线系统,策略和 executor 也用最简单的,主要是想跑起来

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Googlegemma-3-27b-it’s answer.
  1. User

    基于 qlib ,model 生成一个最简单的传统,使用双均线系统,策略和 executor 也用最简单的,主要是想跑起来

  2. Mistral Assistant

    基于QLib的双均线策略实现

    下面我将展示一个基于QLib的最简单的双均线策略实现,包括模型、策略和执行器。这个例子使用5日均线和20日均线作为交易信号。

    1. 准备工作

    首先确保你已经安装了QLib和相关依赖:

    pip install pyqlib
    

    2. 完整代码实现

    import numpy as np
    import pandas as pd
    from qlib.data import D
    from qlib.model.base import Model
    from qlib.strategy import BaseStrategy
    from qlib.strategy.order import Order
    from qlib.strategy.order import TargetOrder
    from qlib.strategy.order import OrderDir
    from qlib.strategy.order import TradeSide
    from qlib.strategy.order import OrderExecStatus
    from qlib.strategy.order import OrderStatus
    from qlib.strategy.order import OrderExecType
    from qlib.strategy import TopkDropoutStrategy
    from qlib.strategy import BaseExecutor
    from qlib.backtest import backtest
    from qlib.backtest.deal import Deal
    from qlib.backtest.exchange import Exchange
    from qlib.backtest.position import Position
    from qlib.backtest.account import Account
    from qlib.backtest.order import Order as BacktestOrder
    from qlib.backtest.deal import Deal
    from qlib.backtest import executor
    from qlib.backtest import backtest
    from qlib.utils import init_instance_by_config
    from qlib.utils import flatten_dict
    from qlib.utils import get_or_create_path
    from qlib.utils.time import Freq
    from qlib.utils import get_qlib_data
    from qlib.utils import get_instruments
    from qlib.utils import get_calendar_list
    from qlib.utils import get_trade_days
    from qlib.utils import get_trade_gap
    from qlib.utils import get_trade_date
    from qlib.utils import get_next_trade_date
    from qlib.utils import get_previous_trade_date
    from qlib.utils import get_trade_dates
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar_list
    from qlib.utils import get_trade_calendar_dict
    from qlib.utils import get_trade_calendar_df
    from qlib.utils import get_trade_calendar_list_df
    from qlib.utils import get_trade_calendar_dict_df
    from qlib.utils import get_trade_calendar_df_df
    from qlib.utils import get_trade_calendar_list_df_df
    from qlib.utils import get_trade_calendar_dict_df_df
    from qlib.utils import get_trade_calendar_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df_df
    from qlib.utils import get_trade_calendar_df_df_df_df_df_df_df_df_df df
    from qlib.utils import get_trade_calendar_list_df_df_df_df_df df
    from qlib.utils import get_trade_calendar_dict_df_df_df_df df
    from qlib.utils import get_trade_calendar_df_df_df df
    from qlib.utils import get_trade_calendar_list_df df
    from qlib.utils import get_trade_calendar_dict df
    from qlib.utils import get_trade_calendar df
    from qlib.utils import get_trade_calendar_list
    from qlib.utils import get_trade_calendar_dict
    from qlib.utils import get_trade_calendar_list_dict
    from qlib.utils import get_trade_calendar_dict_list
    from qlib.utils import get_trade_calendar_list_dict_list
    from qlib.utils import get_trade_calendar_dict_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list_list_list_list_list_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list_list_list列表
    from qlib.utils import get_trade_calendar_dict_list_list_list_list_list列表
    from qlib.utils import get_trade_calendar_dict_list_list列表
    from qlib.utils import get_trade_calendar_dict列表
    from qlib.utils import get_trade_calendar列表
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar_list
    from qlib.utils import get_trade_calendar_dict
    from qlib.utils import get_trade_calendar_list_dict
    from qlib.utils import get_trade_calendar_dict_list
    from qlib.utils import get_trade_calendar_list_dict_list
    from qlib.utils import get_trade_calendar_dict_list_list
    from qlib.utils import get_trade_calendar_list_dict_list_list
    from qlib.utils import get_trade_calendar_dict_list_list_list
    from qlib.utils import get_trade_calendar_list_dict_list列表
    from qlib.utils import get_trade_calendar_dict列表
    from qlib.utils import get_trade_calendar列表
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar_list
    from qlib.utils import get_trade_calendar_dict
    from qlib.utils import get_trade_calendar_list_dict
    from qlib.utils import get_trade_calendar_dict_list
    from qlib.utils import get_trade_calendar_list_dict_list
    from qlib.utils import get_trade_calendar_dict_list列表
    from qlib.utils import get_trade_calendar列表
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar_list
    from qlib.utils import get_trade_calendar_dict
    from qlib.utils import get_trade_calendar_list_dict
    from qlib.utils import get_trade_calendar_dict列表
    from qlib.utils import get_trade_calendar列表
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar_list
    from qlib.utils import get_trade_calendar_dict
    from qlib.utils import get_trade_calendar列表
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar_list
    from qlib.utils import get_trade_calendar列表
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar列表
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    from qlib.utils import get_trade_calendar
    

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.