Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
My First Algo: Kendall L. Edwards

This is my first researched portfolio. I'm very new at trading, and would appreciate ANY feedback that would teach me the ins-and-outs of trading, before I enter the live market.

1 response

Good start!

A few suggestions.

  • Use pipeline to fetch data. As you get more complicated algorithms this will speed up fetching data. Also makes it easier to implement the next item.
  • Generally don't just arbitrarily pick stocks. Put code in to select them. In this case you could code for the getting the largest stock in several market sectors. This is most easily done with filters in the pipeline. A big reason one is doing algorithmic trading is to take the human element out of things.
  • In live trading, depending upon the broker and your account type, you will probably want to specify your orders more explicitly and not use the '.order_target_percent' method. Probably calculate how many shares you want to order based on available cash and place a limit order to ensure you don't go over that amount.

See attached algo revised for using pipeline.

Good luck!