-
我看你代码里面的股票数据获取的方式,似乎都是去相关网站上抓取的,所以你需要搞个代理池,避免反爬,能否把大部分k线数据用类似tushare.pro的开源的数据供应商替代,其他的没有的再去相关网站上抓取,这样压力小很多。
而且有些数据网站的链接可能已经换了,比如
http://stock.finance.qq.com/corp1/plate.php?zqdm=300697
访问之后自动跳…
-
-
当仅指定ts_code 时:能够正常返回数据
当仅指定start_date 或end_date时:接口行为无法预测,返回数据与指定的日期无关
当同时指定ts_code 和 start_date 或end_date时:不返回任何数据
Tushare 为最新版
Python 3.7 win10
code:
``` python
import pandas as pd
impor…
-
执行以下代码:
```
import tushare as ts
ts.set_token(my_token)
pro = ts.pro_api()
pro.trade_cal(exchange='', start_date='20180101', end_date='20181231')
```
返回如下内容:
> Traceback (most recent call la…
-
-
想要使用所有数据,所有想知道个价格,能否明确告知??
-
抱歉,您每分钟最多访问该接口2次,权限的具体详情访问:https://tushare.pro/document/1?doc_id=108。
能提高访问频度吗?
-
```
df = ts.pro_bar('002623.SZ', adj=None, start_date='20191123', end_date='20200109', freq='30min')
```
12月份到1月份有些数据缺失了
-
- [x] 聚宽数据补全
- [x] 统一的主图,附图,标记绘图
- [x] 多级别交易的例子
- [x] 优化实时行情的演示
- [x] 优化实时数据的计算
-
Python3 调用sdk时,
data = pro.daily(ts_code=tsc, start_date='20151231', end_date='20191221')
Exception: 抱歉系统错误,请反馈我们送积分,感谢!请求ID()
tsc="000001.SZ"
tushare 1.2.48
调用好用过。之后一直有问题