@JoinQuant-PM 我在使用技术分析指标vmacd的时候出现了错误,不知道如何解决,请指教,感谢!
错误如下:
```
Traceback (most recent call last):
File "kuanke/user_space.py", line 148, in exec_msg
return getattr(self, func)(*msg['args'], **msg['kwargs'])
File "kuanke/user_space.py", line 308, in handle_data
self.func_handle_data(self.user_context, user_space_api.SecuritiesData(context.current_dt))
File "user_code.py", line 46, in handle_data
Transfer(context)
File "user_code.py", line 449, in Transfer
vmacd_dif, vmacd_dea, vmacd_macd = VMACD(buylist,check_date=date, SHORT = 12, LONG = 26, MID = 9)
File "jqlib/technical_analysis.py", line 1481, in VMACD
t = NaN
NameError: global name 'NaN' is not defined
```