Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
question on order_optimal_portfolio sell

the function sells too much good stocks that i want to hold, how to decide not to clear the current holdings unless some condition is met?

i tried to use Frozen yet meet a lot of constraints conflict error:( overall this is less flexiable to impress my idea.