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.

Clone Algorithm
8
Loading...
Backtest from to with initial capital
Total Returns
--
Alpha
--
Beta
--
Sharpe
--
Sortino
--
Max Drawdown
--
Benchmark Returns
--
Volatility
--
Returns 1 Month 3 Month 6 Month 12 Month
Alpha 1 Month 3 Month 6 Month 12 Month
Beta 1 Month 3 Month 6 Month 12 Month
Sharpe 1 Month 3 Month 6 Month 12 Month
Sortino 1 Month 3 Month 6 Month 12 Month
Volatility 1 Month 3 Month 6 Month 12 Month
Max Drawdown 1 Month 3 Month 6 Month 12 Month
# Backtest ID: 59752e8e457b7c4e0e665294
There was a runtime error.
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!

Clone Algorithm
4
Loading...
Backtest from to with initial capital
Total Returns
--
Alpha
--
Beta
--
Sharpe
--
Sortino
--
Max Drawdown
--
Benchmark Returns
--
Volatility
--
Returns 1 Month 3 Month 6 Month 12 Month
Alpha 1 Month 3 Month 6 Month 12 Month
Beta 1 Month 3 Month 6 Month 12 Month
Sharpe 1 Month 3 Month 6 Month 12 Month
Sortino 1 Month 3 Month 6 Month 12 Month
Volatility 1 Month 3 Month 6 Month 12 Month
Max Drawdown 1 Month 3 Month 6 Month 12 Month
# Backtest ID: 5975f820562a6e4dff2a0c5b
There was a runtime error.