通过tushare获取股票数据

import tushare as ts
import pandas as pda
# data=ts.get_hist_data('000510')
# print(data)
# data.to_excel('j:/stock/list.xlsx')

df=ts.get_day_all()
df.to_excel('j:/stock/data.xlsx')

 

你可能感兴趣的:(python)