This code:
SimpleBeta(target=sid(8554),regression_length=260,mask=QTradableStocksUS())
gives this error:
There was a runtime error.
TypeError: __new__() got an unexpected keyword argument 'mask'
USER ALGORITHM:48, in make_pipeline
beta = SimpleBeta(target=sid(8554),regression_length=260,mask=QTradableStocksUS())
The help page suggests that SimpleBeta
should accept mask
like every other built-in factor.
Is this a bug, or intentional? If the latter, I suggest adding a note to the help page, stating that mask
is not allowed for SimpleBeta
.