TypeError: Can't Instantiate abstract class


I was following the tutorial on the documentation. I copy-pasted the code and saved it in a file strategy_sma_regular_order.py but when I validate the strategy using


, I get the following error:

TypeError Traceback (most recent call last)
in ()
----> 1 algobulls_connection.create_strategy(StrategySMARegularOrder)

C:\Anaconda3\lib\site-packages\pyalgotrading\algobulls\connection.py in create_strategy(self, strategy, overwrite)
65 # Validate class by creating an instance
66 print(‘Validating Strategy…’)
—> 67 strategy()
69 # Get source code, and upload as new strategy (if strategy_code is None) else edit same strategy

TypeError: Can’t instantiate abstract class StrategySMARegularOrder with abstract methods name