Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
How to Compute the Sortino ratio?

I'm familiar with the actual formula, but what exactly do you use as the risk-free rate? And how would you implement it as a Custom Factor?
Thanks