Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议增加直接从csv文件读入数据并转换成feed的功能。 #3

Open
zwdnet opened this issue Nov 27, 2019 · 2 comments
Open

Comments

@zwdnet
Copy link

zwdnet commented Nov 27, 2019

这样就不用每次都用tushare下载数据了。参考我的:https://github.com/zwdnet/MyQuant/blob/master/tsfeed.py
另外老哥有没有pyalgotrade的学习资料啊?除了官方文档。我在学,自己写策略运行老是不对。

@asiashow
Copy link

pyalgotrade_tushare 只能取日线数据吗?分钟数据可以拿到吗?

@zwdnet
Copy link
Author

zwdnet commented Dec 18, 2019

pyalgotrade_tushare 只能取日线数据吗?分钟数据可以拿到吗?

看代码https://github.com/bopo/pyalgotrade_tushare/blob/develop/pyalgotrade_tushare/tools.py 貌似不行,除非去修改代码。另外更正一点,当本地有数据文件的时候,是从本地文件建立barfeed的,而不是从tushare上下载。蛮好,一个接口就搞定了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants