@晚起的小虫 启用实盘易和申购新股,回测出现下面错误提示,通达信模拟交易端,非交易时间段问题?已更新帖子尾部的shipane_sdk
1.实盘易对接券商 [host: xxx.xxx.xxx.xxx:8888 key: client:title:moni]
2.实盘易申购新股[time: [[13, 18]] host: xxx.xxx.xxx.xxx:8888 key: client:['title:moni']]
--------------------------------------------------------------------------
2017-01-03 09:20:00 - INFO - ==========================================================================
2017-01-03 13:18:00 - ERROR - Traceback (most recent call last):
File "kuanke/user_space.py", line 143, in exec_msg
return getattr(self, func)(*msg['args'], **msg['kwargs'])
File "kuanke/user_space.py", line 316, in handle_data
self.func_handle_data(self.user_context, user_space_api.SecuritiesData(context.current_dt))
File "user_code.py", line 291, in handle_data
rule.handle_data(context,data)
File "user_code.py", line 1600, in handle_data
shipane.purchase_new_stocks(client_param)
File "shipane_sdk.py", line 103, in purchase_new_stocks
df = self.__query_new_stocks()
File "shipane_sdk.py", line 141, in __query_new_stocks
sarr = '' % sarr
TypeError: not all arguments converted during string formatting
2017-02-23