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'
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'