Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Buy and take profit every 30 minutes

Hi,

I am new here and I am trying to learn stuff..
Can someone help me with this simple code please to run?

  1. Buy 100 shares of AAPL every X minutes during the day (let's say every 30 minutes from the opening markets).
  2. Take profit and sell each buy if it has 1% profit from the buy price.
    If it does not reach 1% profit during the day till market closes or even has a loss trade, do nothing.. Do not sell, remain the capital.

Thanks in advance,
Dan.