Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Inverse of a factor in alphalens

How can I inverse this total debt factor so that alphalens will short the top quantile(highest debt) and go long on the bottom quantile(lowest debt)?

Currently I believe it goes long on the top quantile and shorts the bottom quantile.

1 response

Put a negative/minus sign in front of the factor.