waditu / tushare

TuShare is a utility for crawling historical data of China stocks
BSD 3-Clause "New" or "Revised" License
12.88k stars 4.29k forks source link

stock_basic出错了? #866

Closed ciscotomx closed 5 years ago

ciscotomx commented 5 years ago

import tushare as ts pro = ts.pro_api('我的token') data = pro.stock_basic(exchange='', list_status='L', fields='ts_code,symbol,name,area,industry,list_date') print(data)

报错: simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

版本1.2.17

ciscotomx commented 5 years ago

发现是本地防火墙限制……sorry