Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Stop Order execution on monthly rebalance code

Hi,

I am new to Quantopian and was wondering if anyone could direct me on how to put a stop order on a monthly rebalance schedule. I want a function to check the prices (not monthly) and execute a stop order at a certain percentage of the last traded price of the security, and by last traded I mean the price at which my strategy bought/sold(short) the security in the most recent rebalance.