ta-lib-python
ta-lib-python copied to clipboard
Error: Value: 'Function' object has no attribute '__name__'
I am just installed the latest library of Talib and the Python wrapper. I am getting the following error no matter which function I use. I am calling the Python wrapper from Deephaven which is built on Java. I didnt have this issue when I was using my custom talib library.
Full expression : (double)last_element(SMA(np.array(Group_bar_close_1min), 5))
Expression having trouble :
Exception type : java.lang.RuntimeException
Exception message : Error in Python interpreter:
Type: <class 'AttributeError'>
Value: 'Function' object has no attribute '__name__'```
Is that an issue you have calling directly to Python from Python?
I can call a python directly from another Python function and that works however I cannot call from a Deephaven query line. This used to work just fine with my custom library which was a very versions older. I am not sure if the new library or new numpy works differentl;y.
Not enough info, closing.