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

下载了历史数据替换后,更新数据报错 #184

Open
epoches opened this issue Sep 1, 2021 · 1 comment
Open

下载了历史数据替换后,更新数据报错 #184

epoches opened this issue Sep 1, 2021 · 1 comment

Comments

@epoches
Copy link

epoches commented Sep 1, 2021

from zvt.domain import *
from tests.context import init_test_context
init_test_context()
def getdata():
Stock.record_data(provider='joinquant')
在测试目录添加文件,提示:
JoinquantIndexMoneyFlowRecorder:IndexMoneyFlow
{'password': '', 'token': 'error: mob/pwd不能为空', 'username': ''}
目录放到zvt samples下面就好了。
建议给个例子,不然新手不知道怎么更新。
还有技术指标,没看到具体的指标说明。这里面注释太少了,不是每个人都有时间研究源码的。大多数是对不感兴趣的会用就行。
例如怎么使用聚宽 jqdatasdk和zvt共用。
包括providers有具体有哪些,如何能最快的更新到最新。
我用Stock1dHfqKdata.record_data(provider = 'joinquant', sleeping_time = 1) 速度会快些,用jqdatasdk是否有更快的方法。
这些很影响改策略的速度,只有有人用才会有人开发啊,用的人是基石。

@foolcage
Copy link
Member

foolcage commented Sep 7, 2021

@epoches 更新了部分文档,建议step by step走一遍。

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