Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
What is the best way to take partial profits with optimize?

If your algo is holding some positions and you would like to take 50% off what is the best way to do that?