Hey Everyone!
I have been fiddling around with the ML Part 3 algorithm and backtested it a number of times and now all of a sudden, for this chunk of code;
rank all the factors and put them after returns
pipeline_columns.update({
k: v.rank(mask=universe) for k, v in features.items()
})
I am faced with this error;
TypeError: rank() missing 1 required positional argument: 'self'
...
USER ALGORITHM:795, in
k: v.rank(mask=universe) for k, v in features.items()
Relevent backtest is attached, I am fairly new to quantopian so i apologize if this is a simple question.
Kind Regards,
Robbie