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

I posted something along these lines awhile back. Without success, I've tried to formulate a long-short version, so if anyone has ideas, please share them.