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

HTTP 405: Method Not Allowed #1296

Closed batigooal closed 4 years ago

batigooal commented 4 years ago

python接口,set_token和pro_api正常,之后调用任何获取数据的接口,都返回下面的错误

df = pro.trade_cal(exchange='', start_date='20180101', end_date='20181231') File "/home/batigol/.pyenv/versions/conda3/lib/python3.7/site-packages/tushare/pro/client.py", line 43, in query raise Exception(result['msg']) Exception: 抱歉, 不合法的请求,(HTTP 405: Method Not Allowed)!

id: 351629

batigooal commented 4 years ago

done, 没彻底关闭代理