PyInvesting

Outperforming with quantitative, data driven investing.


Create Your Moving Average Backtest

A backtest is a simulation of an investment strategy using historical prices. This moving average backtest selects the stocks that are trading above their moving average.


What stocks would you like to include in your portfolio?



Select benchmarks that you would like to compare your strategy's performance against.



Allocate weights to each of the signals to customize your own trading signal. Stocks with the strongest signals are bought and stocks with the weakest signals are sold.

Select Signal Weight (%)
12 Month Returns
6 Month Returns
3 Month Returns
1 Month Returns
1 Week Returns
P/E Ratio
Free Cash Flow Yield
Net Profit Margin
Return on Equity
Profit Growth
Volatility

Screen your portfolio to select stocks in an uptrend. Stocks in a long term uptrend usually trade above their 200 day simple moving average.

Stock Moving Average Period

Select the number of stocks you want to hold.

Number of holdings

How often should your portfolio be rebalanced?

Rebalance frequency

Do you want to use PyInvesting's risk management system to adjust cash allocation based on market sentiment?


Backtest Name