I am trying to use the rocr function within a threading class and I obtain the following error:
self.ROC_r_3 = rocr(self.Close_df, period=3).df['rocr'].values
File "/Users/quiquemorgades/binance_env3/lib/python3.7/site-packages/btalib/indicator.py", line 110, in call
self.outputs = self.o = meta.outputs._from_class(cls)
File "/Users/quiquemorgades/binance_env3/lib/python3.7/site-packages/btalib/meta/outputs.py", line 30, in _from_class
return _CLSOUTPUTScls # defvals params in dict format
File "/Users/quiquemorgades/binance_env3/lib/python3.7/site-packages/btalib/meta/lines.py", line 630, in init
metadata.minperiods[self] =  * len(self)
AttributeError: '_thread._local' object has no attribute 'minperiods'
I don't understand the error as it has worked previously fine, anyone can give me some help?