29 浏览
0

返回数据如下:’expire_datetime’、’delivery_year’错误,数据为2016,正确是2026。{‘datetime’: ‘2026-09-18 08:56:31.000000’, ‘ask_price1’: nan, ‘ask_volume1’: 0, ‘bid_price1’: nan, ‘bid_volume1’: 0, ‘ask_price2’: nan, ‘ask_volume2’: 0, ‘bid_price2’: nan, ‘bid_volume2’: 0, ‘ask_price3’: nan, ‘ask_volume3’: 0, ‘bid_price3’: nan, ‘bid_volume3’: 0, ‘ask_price4’: nan, ‘ask_volume4’: 0, ‘bid_price4’: nan, ‘bid_volume4’: 0, ‘ask_price5’: nan, ‘ask_volume5’: 0, ‘bid_price5’: nan, ‘bid_volume5’: 0, ‘last_price’: nan, ‘highest’: nan, ‘lowest’: nan, ‘open’: 6000, ‘close’: nan, ‘average’: nan, ‘volume’: 0, ‘amount’: 0, ‘open_interest’: 300751, ‘settlement’: nan, ‘upper_limit’: 6424, ‘lower_limit’: 5696, ‘pre_open_interest’: 300751, ‘pre_settlement’: 6060, ‘pre_close’: 6052, ‘price_tick’: 2, ‘price_decs’: 0, ‘volume_multiple’: 5, ‘max_limit_order_volume’: 1000, ‘max_market_order_volume’: 200, ‘min_limit_order_volume’: 0, ‘min_market_order_volume’: 0, ‘open_max_market_order_volume’: 0, ‘open_max_limit_order_volume’: 0, ‘open_min_market_order_volume’: 0, ‘open_min_limit_order_volume’: 0, ‘underlying_symbol’: ”, ‘strike_price’: nan, ‘ins_class’: ‘FUTURE’, ‘instrument_id’: ‘CZCE.SF611’, ‘instrument_name’: ”, ‘exchange_id’: ‘CZCE’, ‘expired’: True, ‘trading_time’: {“day”: [[“09:00:00”, “10:15:00”], [“10:30:00”, “11:30:00”], [“13:30:00”, “15:00:00”]], “night”: []}, ‘expire_datetime’: 1479106800.0, ‘delivery_year’: 2016, ‘delivery_month’: 11, ‘last_exercise_datetime’: nan, ‘exercise_year’: 0, ‘exercise_month’: 0, ‘option_class’: ”, ‘exercise_type’: ”, ‘product_id’: ‘SF’, ‘iopv’: nan, ‘public_float_share_quantity’: 0, ‘stock_dividend_ratio’: [], ‘cash_dividend_ratio’: [], ‘expire_rest_days’: -3595, ‘categories’: [], ‘margin’: 1975.4, ‘commission’: 3.0}

chaos 已回答的问题 6小时 前
0

您当前的tqsdk版本号是多少呢,我这边用3.10.2最新版的没有遇到这个问题
然后可以给一个最小复现问题的代码我们查一下吗

chaos 发表新评论 6小时 前

有其他问题欢迎加入官方Q群748265037一起交流

您正在查看1个答案中的1个,单击此处查看所有答案。