"Crystal Ball" Backtest

This is not a real screen!
Pick the best stocks for the upcoming month, based on future performance. This clearly isn't an actual backtest, but may lead to something useful. Or not.

through
Starting in
Holding Period: months
Name:
codes

General instructions

Run the tester over the specified range of years. Available data runs from 2003 through 2023 for most screens. You may start at any month of the year, but other than January can only run through 2022/2023.

Stocks are picked from the screens every holding period (between 1 and 120 months) and held for that period.

Instead of selecting from the available screens, you may choose to enter codes from any of the backtesters to create hybrid tests. Simply copy the link listed at the top of a run and paste into the form. Also see the backtester code guide.

You may give your backtest a name for convenience. If you use this backtest code in other testers, its name will be shown instead of a full description.

$ initial investment
Fixed allocation
Add $ every months
Rebalance: never always
every months
$ commission, % spread
Short-term tax: %
Long-term tax: %
Pay taxes every:
Trade day(s) after rankings

Trading simulation

Start with an initial investment. You may also add more money periodically. You can also subtract from the portfolio by adding a negative amount.

Instead of adding or subtracting a fixed amount, you can elect to keep the portfolio at a fixed allocation. This is useful for testing costs without considering the effects of compounded growth, to see what your money might do this year.

Normally, the stocks held in a screen are rebalanced on every trade. You can also specify to never rebalance, which may allow one stock to dominate a screen as it grows, or rebalance at a fixed interval (which must be a multiple of the holding period).

You can pay a fixed commission (which is applied to every buy and sell) as well as a percentage spread (half applied on buy, half on sell).

Capital-gains taxes can be applied, both short-term and long-term. Taxes may be taken out on every trade, quarterly, or annually.

Screen rankings come out on Friday, and backtests are typically done with the closing prices on the next Monday, one day after the rankings. This lag between ranking and trading can be varied from zero days (trade on Friday) and upward.

seasonal
Screens:
Limit to stocks

"Crystal Ball" Backtest instructions

Choose which screen to select the stocks from. All the stocks from the screen selected are ordered by their upoming returns for the period in question (that's why this isn't a real screen). Select a limit of how many of the best stocks you want to get the return for. A limit of 1 would show the stock that's destined to be the best for the upcoming period.

Alternately, you can enter more screens, and the Crystal Ball will choose the best-performing screen for each period (or if a limit is specified, the top stocks from the top screen). If you check the seasonal box, it will choose one winning screen for each calendar month, which the same set of screens chosen every year.