from tqsdk import TqApi, TqAuth # 初始化天勤API api = TqApi(auth=TqAuth("快期账户", "账户密码")) # 定义合约代码 symbols = ["CZCE.SPD...