ta-lib-python icon indicating copy to clipboard operation
ta-lib-python copied to clipboard

Exception: TA_MACD function failed with error code 5119: Unknown Error

Open jzx20061010 opened this issue 4 years ago • 1 comments

While caluclating the factor with pandas,I found the problem. What I used: groupby , apply , for time in range(5,60): df[f"MACD_macd_{time}"],df["MACD_macdsignal"],df["MACD_macdhist"] = talib.MACD(close, fastperiod=time//2, slowperiod=time, signalperiod=time//3) The error happened

jzx20061010 avatar May 21 '21 02:05 jzx20061010

Could you provide a test case that I can use to reproduce this? I have not seen that error before.

mrjbq7 avatar Jun 24 '21 18:06 mrjbq7

Closing old issue.

mrjbq7 avatar Jan 20 '24 19:01 mrjbq7