ipdb> api.get_quote("CZCE.JR705") <tqsdk.objs.Quote object at 0x7fba41231bb0>, D({'datetime': '2017-03-03 14:57:58.500000', 'ask_price1': 3309.0, 'ask_volume1': 1, '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': 3279.0, 'highest': 3279.0, 'lowest': 3161.0, 'open': 3165.0, 'close': 3279.0, 'average': 3202.0, 'volume': 6, 'amount': 384240.0, 'open_interest': 0, 'settlement': 3202.0, 'upper_limit': 3423.0, 'lower_limit': 3159.0, 'pre_open_interest': 2, 'pre_settlement': 3291.0, 'pre_close': 3291.0, 'price_tick': 1, 'price_decs': 0, 'volume_multiple': 20, 'max_limit_order_volume': 1000, 'max_market_order_volume': 200, 'min_limit_order_volume': 0, 'min_market_order_volume': 0, 'underlying_symbol': '', 'strike_price': nan, 'ins_class': 'FUTURE', 'instrument_id': 'CZCE.JR705', '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': 1494831600.0, 'delivery_year': 2017, 'delivery_month': 5, 'last_exercise_datetime': nan, 'exercise_year': 0, 'exercise_month': 0, 'option_class': '', 'exercise_type': '', 'product_id': 'JR', 'iopv': nan, 'public_float_share_quantity': 0, 'stock_dividend_ratio': [], 'cash_dividend_ratio': [], 'expire_rest_days': -1902, 'margin': 2773.0, 'commission': 3.0}) ipdb> api.get_quote("CZCE.JR709") <tqsdk.objs.Quote object at 0x7fba411af3d0>, D({'datetime': '2017-09-14 14:59:59.000001', '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': nan, 'close': nan, 'average': nan, 'volume': 0, 'amount': 0.0, 'open_interest': 0, 'settlement': 3251.0, 'upper_limit': 3382.0, 'lower_limit': 3120.0, 'pre_open_interest': 0, 'pre_settlement': 3251.0, 'pre_close': 3251.0, 'price_tick': 1, 'price_decs': 0, 'volume_multiple': 20, 'max_limit_order_volume': 1000, 'max_market_order_volume': 200, 'min_limit_order_volume': 0, 'min_market_order_volume': 0, 'underlying_symbol': '', 'strike_price': nan, 'ins_class': 'FUTURE', 'instrument_id': 'CZCE.JR709', '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': 1505372400.0, 'delivery_year': 2017, 'delivery_month': 9, 'last_exercise_datetime': nan, 'exercise_year': 0, 'exercise_month': 0, 'option_class': '', 'exercise_type': '', 'product_id': 'JR', 'iopv': nan, 'public_float_share_quantity': 0, 'stock_dividend_ratio': [], 'cash_dividend_ratio': [], 'expire_rest_days': -1780, 'margin': 2773.0, 'commission': 3.0}) ipdb> api.get_quote("CZCE.JR707") *** Exception: 查询合约服务报错 failed to execute graphql operation, errors: [variable instrument_id: [CZCE.JR707] contains non-existent instrument: CZCE.JR707]
JR705有数据,JR707却没有,能否将这些确实的数据补上?