-
-
Couldn't load subscription status.
- Fork 1.3k
Open
@abdel-ely-ds
Description
Expected behavior
This code should work fine.
Code sample
self.vol20 = self.I(talib.SMA, self.data.Volume, 20) self.vol50 = self.I(talib.SMA, self.data.Volume, 50) raise RuntimeError(f'Indicator "{name}" errored with exception: {e}') 131 if isinstance(value, pd.DataFrame): 132 value = value.values.T RuntimeError: Indicator "SMA(V,20)" errored with exception: input array type is not double
Actual behavior
But I get the error above when I write it on GOOG
Additional info, steps to reproduce, full crash traceback, screenshots
No response
Software versions
backtesting.__version__: 0.3.3pandas.__version__: 2.3.3numpy.__version__: 1.24.3talib.__version__: 0.6.7- OS: windows
Metadata
Metadata
Assignees
Labels
No labels