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

执行demo的时候,提示这个错 #43

Open
lizhi2013 opened this issue Nov 29, 2017 · 3 comments
Open

执行demo的时候,提示这个错 #43

lizhi2013 opened this issue Nov 29, 2017 · 3 comments

Comments

@lizhi2013
Copy link

D:\worksoft\anaconda3\lib\site-packages\quantdigger-0.6.0-py3.6.egg\quantdigger\engine\execute_unit.py in _load_data(self, strpcons, dt_start, dt_end, n, spec_date)
216 dt_start = spec_date[strpcon][0]
217 dt_end = spec_date[strpcon][1]
--> 218 assert(dt_start < dt_end)
219 if n:
220 wrapper = self._data_manager.get_last_bars(strpcon, n)

TypeError: '<' not supported between instances of 'int' and 'str'

@valaxy
Copy link

valaxy commented Feb 15, 2018

same error

@valaxy
Copy link

valaxy commented Feb 15, 2018

这DEMO.. 唉 还得去看源码查问题

@valaxy
Copy link

valaxy commented Feb 15, 2018

Python3运行:
set_symbols(['BB.SHFE-1.Minute'], 0) 改为 set_symbols(['BB.SHFE-1.Minute'])
然后后面还会有其他问题,我懒得查了

@lizhi2013

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