2019-11-19 22:12:43,904 – INFO – 通知: 登录成功
DEBUG:TqApi:websocket message received from wss://openmd.shinnytech.com/t/md/front/mobile: {“aid”:”rtn_data”,”data”:[{“klines”:{“SHFE.rb2001”:{“60000000000”:{“data”:{“69732”:{“datetime”:1574172720000000000,”open”:3663.000,”high”:3666.000,”low”:3662.000,”close”:3664.000,”volume”:20522,”open_oi”:3101098,”close_oi”:3102516}}}}}},{“charts”:{“PYSDK_realtime_564edda766e89964f652191e06d9ba08”:{“more_data”:false}},”mdhis_more_data”:false}
,{}]}
DEBUG:TqApi:websocket message sent to wss://openmd.shinnytech.com/t/md/front/mobile: {“aid”: “peek_message”}
DEBUG:TqApi:websocket message received from wss://openmd.shinnytech.com/t/md/front/mobile: {“aid”:”rtn_data”,”data”:[{“klines”:{“SHFE.rb2001”:{“60000000000”:{“data”:{“69732”:{“datetime”:1574172720000000000,”open”:3663.000,”high”:3666.000,”low”:3662.000,”close”:3664.000,”volume”:20862,”open_oi”:3101098,”close_oi”:3102496}}}}}},{“charts”:{“PYSDK_realtime_564edda766e89964f652191e06d9ba08”:{“more_data”:false}},”mdhis_more_data”:false}
,{}]}
DEBUG:TqApi:websocket message sent to wss://openmd.shinnytech.com/t/md/front/mobile: {“aid”: “peek_message”}
DEBUG:TqApi:websocket message received from wss://openmd.shinnytech.com/t/md/front/mobile: {“aid”:”rtn_data”,”data”:[{“klines”:{“SHFE.rb2001”:{“60000000000”:{“data”:{“69732”:{“datetime”:1574172720000000000,”open”:3663.000,”high”:3666.000,”low”:3662.000,”close”:3664.000,”volume”:21120,”open_oi”:3101098,”close_oi”:3102600},”69733″:{“datetime”:1574172780000000000,”open”:3664.000,”high”:3665.000,”low”:3664.000,”close”:3665.000,”volume”:458,”open_oi”:3102600,”close_oi”:3102572}}}}}},{“charts”:{“PYSDK_realtime_564edda766e89964f652191e06d9ba08”:{“left_id”:67734,”more_data”:false,”right_id”:69733}},”klines”:{“SHFE.rb2001”:{“60000000000”:{“last_id”:69733}}},”mdhis_more_data”:false}
,{}]}
DEBUG:TqApi:websocket message sent to wss://openmd.shinnytech.com/t/md/front/mobile: {“aid”: “peek_message”}
DEBUG:TqApi:websocket message received from wss://openmd.shinnytech.com/t/md/front/mobile: {“aid”:”rtn_data”,”data”:[{“klines”:{“SHFE.rb2001”:{“60000000000”:{“data”:{“69733”:{“datetime”:1574172780000000000,”open”:3664.000,”high”:3666.000,”low”:3663.000,”close”:3663.000,”volume”:19268,”open_oi”:3102600,”close_oi”:3102398},”69734″:{“datetime”:1574172840000000000,”open”:3663.000,”high”:3664.000,”low”:3663.000,”close”:3663.000,”volume”:1374,”open_oi”:3102398,”close_oi”:3102706}}}}}},{“charts”:{“PYSDK_realtime_564edda766e89964f652191e06d9ba08”:{“left_id”:67735,”more_data”:false,”right_id”:69734}},”klines”:{“SHFE.rb2001”:{“60000000000”:{“last_id”:69734}}},”mdhis_more_data”:false}
,{}]}
我封装了一下tqsdk,然后就一直报debug,应该是klines报的。我想请问一下是为什么
M V 选择最佳答案 2019年11月20日
我可以set日志等级让它不报,但是为什么我用文档的例子就不报这个debug,我自己一封装就报了呢。。。