Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Need help in developing simple stratergy

Buy above 20/50 ema crossover. Close position end of the day.
Fresh position at market open.

Need code.