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

DoubleMA example errors #42

Open
sjtulinhua opened this issue May 7, 2018 · 0 comments
Open

DoubleMA example errors #42

sjtulinhua opened this issue May 7, 2018 · 0 comments

Comments

@sjtulinhua
Copy link

sjtulinhua commented May 7, 2018

clone后什么都没改,就添加了用户名和token,运行示例发现如下错误,do_analyze的时候里面有个对象时空的:

Traceback (most recent call last):
File "/Users/PycharmProjects/JAQS/example/eventdriven/DoubleMA.py", line 237, in
analyze()
File "/Users/PycharmProjects/JAQS/example/eventdriven/DoubleMA.py", line 232, in analyze
ta.do_analyze(result_dir=result_dir_path, selected_sec=[])
File "/Users/PycharmProjects/JAQS/jaqs/trade/analyze/analyze.py", line 1028, in do_analyze
self.get_daily()
File "/Users/PycharmProjects/JAQS/jaqs/trade/analyze/analyze.py", line 702, in get_daily
self._build_holding_data()
File "/Users/PycharmProjects/JAQS/jaqs/trade/analyze/analyze.py", line 743, in _build_holding_data
tmp = self.dataview.get_ts(base_fields, keep_level=True)
AttributeError: 'NoneType' object has no attribute 'get_ts'

@sjtulinhua sjtulinhua changed the title clone DoubleMA example errors May 7, 2018
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

1 participant