Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Problem resolved

Found the solution to my problem.