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

pro.moneyflow 接口超时 #973

Closed liusw02 closed 5 years ago

liusw02 commented 5 years ago

Tushare上的代码实例

import tushare as ts # 数据

ts.set_token() pro = ts.pro_api()

获取单日全部股票数据

df = pro.moneyflow(trade_date='20190315')

获取单个股票数据

df = pro.moneyflow(ts_code='002149.SZ', start_date='20190115', end_date='20190315') print(df)

OUT:

raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 504: Gateway Time-out

jimmysoa commented 5 years ago

后来已经已经解决

liusw02 commented 5 years ago

后来已经已经解决

可以用了。我以为还要等一段时间呢,效率蛮高的 👍