Open imfoli opened 4 years ago
File "D:\devenv\python\Anaconda3\lib\site-packages\tushare\pro\client.py", line 43, in query raise Exception(result['msg']) Exception: fields 列表类型
这是啥问题????
tushare昵称:leochan007
服务器是正好升级了吗?
把注释代码改写成如下就可以了??
df = pro.opt_basic(exchange='DCE', fields=['ts_code','name','exercise_type','list_date','delist_date'])
JSONDecodeError Traceback (most recent call last)
File "D:\devenv\python\Anaconda3\lib\site-packages\tushare\pro\client.py", line 43, in query raise Exception(result['msg']) Exception: fields 列表类型
这是啥问题????
tushare昵称:leochan007