pandas 更新pip python -m pip install --upgrade pip 更新tushare pip install tushare --upgrade pip install tushare -i https://pypi.tuna.tsinghua.edu.cn/simple pip install tushare --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple 查看当前版本的方法: import tushare print(tushare.__version__) 数据调取 1、导入tushare SDK (tushare version > 1.2.4) import tushare as ts 2、设置token ts.set_token('your token here') 3、初始化pro接口 pro = ts.pro_api() 4、数据调取 data = pro.stock_basic(exchange_id='', is_hs='S', fields='symbol,name,list_date,list_status') http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradedetail.php?symbol=sh600029&date=2018-11-08&page=1 http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradedetail.php?symbol=sh600518&date=2018-11-08&page=1 http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradedetail.php?symbol=sz000830&date=2018-11-08&page=1 http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradedetail.php?symbol=sz002292&date=2018-11-08&page=1 http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradedetail.php?symbol=sh600030&date=2018-11-08&page=1 http://vip.stock.finance.sina.com.cn/quotes_service/view/vMS_tradedetail.php?symbol=sz002131&date=2018-11-08&page=1 中国人民银行官网 =》调查统计 =〉2018年数据 =》货币当局资产负债表 http://www.pbc.gov.cn/diaochatongjisi/resource/cms/2018/10/2018102215062720408.htm http://59.111.92.219 https://github.com/xuxueli/xxl-job https://github.com/doocs/advanced-java http://mirrors.163.com/centos/7.6.1810/isos/x86_64/