632 浏览
0

经常网络出错如下内容, 时不时又能正常登录运行.

Traceback (most recent call last):
File “C:/Users/thinkpad/AppData/Roaming/JetBrains/PyCharmCE2022.2/scratches/temp10.py”, line 141, in <module>
api = TqApi(web_gui=True, auth=TqAuth(KQ_id, password))
File “C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\api.py”, line 300, in __init__
self.query_graphql(q, v, _generate_uuid(“PYSDK_quote”))
File “C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\api.py”, line 1996, in query_graphql
raise Exception(“查询合约服务 %s 超时,请检查客户端及网络是否正常 %s” % (query, query_id))
Exception: 查询合约服务 query ($future:Class,$index:Class,$option:Class,$combine:Class,$cont:Class,$exSHFE:String,$exDCE:String,$exCZCE:String,$exINE:String,$exCFFEX:String,$exKQ:String){SHFEfuture:symbol_info(class:$future,exchange_id:$exSHFE){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
SHFEindex:symbol_info(class:$index,exchange_id:$exSHFE){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
SHFEoption:symbol_info(class:$option,exchange_id:$exSHFE){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
SHFEcombine:symbol_info(class:$combine,exchange_id:$exSHFE){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
SHFEcont:symbol_info(class:$cont,exchange_id:$exSHFE){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
DCEfuture:symbol_info(class:$future,exchange_id:$exDCE){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
DCEindex:symbol_info(class:$index,exchange_id:$exDCE){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
DCEoption:symbol_info(class:$option,exchange_id:$exDCE){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
DCEcombine:symbol_info(class:$combine,exchange_id:$exDCE){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
DCEcont:symbol_info(class:$cont,exchange_id:$exDCE){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
CZCEfuture:symbol_info(class:$future,exchange_id:$exCZCE){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
CZCEindex:symbol_info(class:$index,exchange_id:$exCZCE){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
CZCEoption:symbol_info(class:$option,exchange_id:$exCZCE){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
CZCEcombine:symbol_info(class:$combine,exchange_id:$exCZCE){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
CZCEcont:symbol_info(class:$cont,exchange_id:$exCZCE){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
INEfuture:symbol_info(class:$future,exchange_id:$exINE){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
INEindex:symbol_info(class:$index,exchange_id:$exINE){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
INEoption:symbol_info(class:$option,exchange_id:$exINE){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
INEcombine:symbol_info(class:$combine,exchange_id:$exINE){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
INEcont:symbol_info(class:$cont,exchange_id:$exINE){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
CFFEXfuture:symbol_info(class:$future,exchange_id:$exCFFEX){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
CFFEXindex:symbol_info(class:$index,exchange_id:$exCFFEX){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
CFFEXoption:symbol_info(class:$option,exchange_id:$exCFFEX){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
CFFEXcombine:symbol_info(class:$combine,exchange_id:$exCFFEX){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
CFFEXcont:symbol_info(class:$cont,exchange_id:$exCFFEX){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
KQfuture:symbol_info(class:$future,exchange_id:$exKQ){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
KQindex:symbol_info(class:$index,exchange_id:$exKQ){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
KQoption:symbol_info(class:$option,exchange_id:$exKQ){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
KQcombine:symbol_info(class:$combine,exchange_id:$exKQ){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
KQcont:symbol_info(class:$cont,exchange_id:$exKQ){
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name}
… on stock{ stock_dividend_ratio cash_dividend_ratio}
… on fund{ cash_dividend_ratio}
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit status public_float_share_quantity}
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
… on option{ expired product_short_name expire_datetime last_exercise_datetime settlement_price max_market_order_volume max_limit_order_volume strike_price call_or_put exercise_type}
… on combine{ expired product_id expire_datetime max_market_order_volume max_limit_order_volume leg1{ … on basic{instrument_id}} leg2{ … on basic{instrument_id}} }
… on derivative{
underlying{
count edges{ underlying_multiple node{
… on basic{ class trading_time{day night} trading_day instrument_id instrument_name price_tick price_decs exchange_id english_name }
… on stock{ stock_dividend_ratio cash_dividend_ratio }
… on fund{ cash_dividend_ratio }
… on bond{ maturity_datetime }
… on tradeable{ volume_multiple quote_multiple}
… on index{ index_multiple}
… on securities{ currency face_value first_trading_datetime buy_volume_unit sell_volume_unit public_float_share_quantity }
… on future{ expired product_id product_short_name delivery_year delivery_month expire_datetime settlement_price max_market_order_volume max_limit_order_volume margin commission mmsa}
}}
}
}
}
} 超时,请检查客户端及网络是否正常 PYSDK_quote_777b892bf95ed919f4220656c0c2d900
Task was destroyed but it is pending!
task: <Task pending coro=<TqConnect._run() running at C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\connect.py:99> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000002128832DC48>()]> cb=[TqApi._on_task_done()]>
Task was destroyed but it is pending!
task: <Task pending coro=<TqApi._windows_patch() running at C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\api.py:2884> wait_for=<Future finished result=None> cb=[TqApi._on_task_done()]>
Task was destroyed but it is pending!
task: <Task pending coro=<TqReconnect._run() running at C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\connect.py:162> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000002128832DCA8>()]> cb=[TqApi._on_task_done()]>
Task was destroyed but it is pending!
task: <Task pending coro=<TqApi._notify_watcher() running at C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\api.py:2892> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000002128832DFA8>()]> cb=[TqApi._on_task_done()]>
Task was destroyed but it is pending!
task: <Task pending coro=<TqWebHelper._run() running at C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\tqwebhelper.py:119> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000002128832DF78>()]> cb=[TqApi._on_task_done()]>
Task was destroyed but it is pending!
task: <Task pending coro=<_run() running at C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\sim\__init__.py:87> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000002128832DBE8>()]> cb=[TqApi._on_task_done()]>
Task was destroyed but it is pending!
task: <Task cancelling coro=<TqApi._fetch_msg() running at C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\api.py:2905> wait_for=<Future finished result=None> cb=[TqApi._on_task_done()]>
Exception ignored in: <coroutine object TqConnect._run at 0x00000212991832B0>
Traceback (most recent call last):
File “C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\connect.py”, line 105, in _run
File “C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\websockets\legacy\client.py”, line 612, in __aexit__
File “C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\websockets\legacy\protocol.py”, line 602, in close
File “C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\tasks.py”, line 342, in wait_for
File “C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\base_events.py”, line 543, in call_later
File “C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\base_events.py”, line 553, in call_at
File “C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\base_events.py”, line 357, in _check_closed
RuntimeError: Event loop is closed
sys:1: RuntimeWarning: coroutine ‘WebSocketCommonProtocol.write_close_frame’ was never awaited
Task was destroyed but it is pending!
task: <Task pending coro=<TqConnect._send_handler() running at C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\connect.py:141> wait_for=<Future cancelled>>
Exception ignored in: <coroutine object TqReconnect._run at 0x0000021299183780>
Traceback (most recent call last):
File “C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\connect.py”, line 212, in _run
File “C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\api.py”, line 2379, in _call_soon
File “C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\base_events.py”, line 574, in call_soon
File “C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\base_events.py”, line 357, in _check_closed
RuntimeError: Event loop is closed
Task was destroyed but it is pending!
task: <Task pending coro=<TqReconnect._send_handler() running at C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\connect.py:216> wait_for=<Future cancelled>>
Exception ignored in: <coroutine object TqApi._notify_watcher at 0x0000021299183150>
Traceback (most recent call last):
File “C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\api.py”, line 2892, in _notify_watcher
File “C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\channel.py”, line 138, in __anext__
File “C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\queues.py”, line 169, in get
File “C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\api.py”, line 2379, in _call_soon
File “C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\base_events.py”, line 574, in call_soon
File “C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\base_events.py”, line 357, in _check_closed
RuntimeError: Event loop is closed
Exception ignored in: <coroutine object TqWebHelper._run at 0x0000021299183F68>
Traceback (most recent call last):
File “C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\tqwebhelper.py”, line 152, in _run
File “C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\api.py”, line 2379, in _call_soon
File “C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\base_events.py”, line 574, in call_soon
File “C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\base_events.py”, line 357, in _check_closed
RuntimeError: Event loop is closed
Task was destroyed but it is pending!
task: <Task pending coro=<TqWebHelper._data_handler() running at C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\tqwebhelper.py:162> wait_for=<Future cancelled>>
Exception ignored in: <coroutine object _run at 0x0000021299183FC0>
Traceback (most recent call last):
File “C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\sim\__init__.py”, line 137, in _run
File “C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\api.py”, line 2379, in _call_soon
File “C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\base_events.py”, line 574, in call_soon
File “C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\base_events.py”, line 357, in _check_closed
RuntimeError: Event loop is closed
Task was destroyed but it is pending!
task: <Task pending coro=<TqSim._md_handler() running at C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\sim\__init__.py:145> wait_for=<Future cancelled>>
Task was destroyed but it is pending!
task: <Task pending coro=<TqWebHelper.link_httpserver() running at C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\tqwebhelper.py:317> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000002128832DEE8>()]>>
Task was destroyed but it is pending!
task: <Task pending coro=<WebSocketCommonProtocol.transfer_data() running at C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\websockets\legacy\protocol.py:750> wait_for=<Future finished result=None> cb=[<TaskWakeupMethWrapper object at 0x000002128832DFD8>(), _wait.<locals>._on_completion() at C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\tasks.py:380]>
Exception ignored in: <coroutine object TqWebHelper.link_httpserver at 0x00000212991838E0>
Traceback (most recent call last):
File “C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\tqsdk\tqwebhelper.py”, line 320, in link_httpserver
File “C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\aiohttp\web_runner.py”, line 286, in cleanup
File “C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\events.py”, line 694, in get_event_loop
File “C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\events.py”, line 669, in get_event_loop_policy
File “C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\events.py”, line 662, in _init_event_loop_policy
ImportError: sys.meta_path is None, Python is likely shutting down
Task was destroyed but it is pending!
task: <Task pending coro=<WebSocketCommonProtocol.keepalive_ping() running at C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\websockets\legacy\protocol.py:1061> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x00000212A1F68078>()]>>
Task was destroyed but it is pending!
task: <Task pending coro=<WebSocketCommonProtocol.close_connection() running at C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\websockets\legacy\protocol.py:1095> wait_for=<Task pending coro=<WebSocketCommonProtocol.transfer_data() done, defined at C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\websockets\legacy\protocol.py:741> wait_for=<Future finished result=None> cb=[<TaskWakeupMethWrapper object at 0x000002128832DFD8>(), _wait.<locals>._on_completion() at C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\tasks.py:380]>>
Exception ignored in: <coroutine object WebSocketCommonProtocol.close_connection at 0x00000212A1F1E410>
Traceback (most recent call last):
File “C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\websockets\legacy\protocol.py”, line 1136, in close_connection
File “C:\Users\thinkpad\PycharmProjects\pythonProject\venv\lib\site-packages\websockets\legacy\protocol.py”, line 1161, in wait_for_connection_lost
File “C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\tasks.py”, line 342, in wait_for
File “C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\base_events.py”, line 543, in call_later
File “C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\base_events.py”, line 553, in call_at
File “C:\Users\thinkpad\AppData\Local\Programs\Python\Python36\lib\asyncio\base_events.py”, line 357, in _check_closed
RuntimeError: Event loop is closed

李思恒 已回答的问题 2023年5月12日
0

看起来确实是网络问题导致在登录的时候合约信息下载失败,试着重启下网络环境看看

李思恒 已回答的问题 2023年5月12日
您正在查看1个答案中的1个,单击此处查看所有答案。