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

Hi,

Is it possible to define in the algo when price is moving through a even number the stock need to be sold. for exampe xyz is going up and through every new even number I want to short the stock. is there any information about this?