As shown in following log, "wrong security" error is raised when query data in python 3.7 on Mac OS.
This issue can be reporduced by running first_example.py.
Initialize config success.
Query data...
Query data - query...
NOTE: price adjust method is [post adjust]
Traceback (most recent call last):
File "first_example.py", line 144, in
save_data()
File "first_example.py", line 63, in save_data
dv.prepare_data()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/jaqs/data/dataview.py", line 497, in prepare_data
data_d, data_q = self._prepare_daily_quarterly(self.fields)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/jaqs/data/dataview.py", line 550, in _prepare_daily_quarterly
daily_list, quarterly_list = self._query_data(self.symbol, fields)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/jaqs/data/dataview.py", line 609, in _query_data
adjust_mode=None, fields=sep.join(fields_market_daily), limit=100000)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/jaqs/data/dataview.py", line 490, in distributed_query
**kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/jaqs/data/dataservice.py", line 391, in daily
self._raise_error_if_msg(err_msg)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/jaqs/data/dataservice.py", line 346, in _raise_error_if_msg
raise QueryDataError(err_msg)
jaqs.data.dataservice.QueryDataError: -1,wrong security
As shown in following log, "wrong security" error is raised when query data in python 3.7 on Mac OS. This issue can be reporduced by running first_example.py.