Stock Screener with Back test function | Quant Investing (2024)

Curious About Your Investment Strategy's Real-World Performance? 📈 Discover how the Quant Investing stock screener's new backtesting feature, using point-in-time data, can reveal the historical performance of your strategies. A must-read for personal investors seeking insights into their investment approach.

The Quant Investing stock screener has got an extra feature that lets you back test your investment strategy with point-in-time data. This article shows you how you can easily back test your investment strategy to make sure it works.

What is back testing?

Back testing means you go back in time and see exactly what companies fit your investment strategy and how they have performed.

To do this we do not using calculated back test ratios but actual values, ratios and indicators, as they were in the past (point in time data) you thus have no look-ahead or survivorship bias in your back test.

We do this by saving the whole screener database every day. We have been doing this since 4 December 2015, which means you can back test since then.

How to back test your investment strategy

This is how you can start using the historical point in time back test database.

We expand on all these points below but here are the steps if you know the screener:

  1. Login and go to the screener
  2. Set up or load a stock screen
  3. Click on the Historical Screener icon
  4. Select the date in the past where you want the screener results for
  5. Select the future closing price date to where you want to calculate returns
  6. Click Confirm to get the historical screener results

Click here to start back testing NOW!

Here are the detailed steps

Here are the detailed steps for you to back test your investment strategy using the back test point in time database.

1. Login and Set up or load a saved screen

For instructions on exactly how to log in and set up a screen look at this article: How to run your first screen with the Quant Investing screener

2. Get historical results of your screen

Once you have run your screen and you have a list of companies that currently fit the screen you are ready to go back in time.

To do this click on the Historical Screener icon to open the Historical Screener date selector.

Stock Screener with Back test function | Quant Investing (1)

A window will the open where you can select two dates.

The first date is the date in the past you want to the screener to run and give you investment ideas. The closing stock prices on this date will automatically be loaded.

You can also (you do not have to) select a second closing price date.

If you add a second date the Historical Screener will automatically calculate the stock price percentage change from the first screener date to the second closing price date.

For example , if you choose to run the historical screener on 3 January 2016 (first date) and enter 30 June 2016 as the second date the screener will automatically calculate the stock price return from 3 January 2016 to 30 June 2016 for you.

This makes it easy to see how your investment strategy has performed.

To select the first date you would like to screen for click the top date selector icon.

Stock Screener with Back test function | Quant Investing (2)

To select a date you can either click the blue left arrow or click on the date heading as shown below.

Stock Screener with Back test function | Quant Investing (3)

Next select a second closing stock price date.

The Historical Screener will calculate returns from the above selected screener date to this date.

Stock Screener with Back test function | Quant Investing (4)

After selecting the date click the Confirm button to start the historical screen.

Stock Screener with Back test function | Quant Investing (5)

That is all you have to do to screen past results.

Click here to start back testing your investment strategy Now!

If there is "No Data"

As you saw you can only select weekdays. However it may happen that the day you selected was a market holiday with no closing price information.

If it was a market holiday you will see a "No data" message like this:

Stock Screener with Back test function | Quant Investing (6)

To solve this problem simply select a day before or after the date you selected.

What were the returns of your back test?

The results of your back test will look like this (see number explanation below):

Click image to enlarge

  1. Shows you the name of the saved screen you are back testing
  2. Shows you the date you are back testing (companies that fit your screen on this date)
  3. Shows you the saved Template you are using. A Template is a saved collection of columns displayed with a screen.
  4. The closing stock price on the date you are back testing. The date shown in 2.
  5. The second closing price you selected.
  6. The percentage change from the closing price in 2 to the closing price in 5.

If the returns look unusual or funny

If the returns of companies in your back rest look unusual or funny, -100%, extremely high, or no return for example. This may happen when a company gets taken over, does a stock split or consolidation, or goes bankrupt.

To find the last price the company traded at simply do an internet search with its name. An article is sure to come up on what happened to the company.

Use this price to calculate the company's back tested return. The easy solution will be to export the back test results to Microsoft Excel as explained below.

Click here to start back testing your investment strategy Now!

Export to Excel for more calculations

If you want to calculate more return numbers remember you can export the above results to Microsoft Excel.

To export to Excel just click on the Export Data to MS Excel icon.

Stock Screener with Back test function | Quant Investing (8)

PS Not a subscriber to the Quant Investing stock screener and back tester yet? Sign up here.

PPS Why not sign up right now before it slips your mind?

Click here to start backtesting NOW!

I'm a seasoned financial analyst with extensive expertise in quantitative investing and stock screening strategies. Over the years, I've actively engaged with various investment tools and platforms, keeping a keen eye on the evolving landscape of investment methodologies. My experience includes a deep understanding of backtesting techniques, which form a crucial aspect of assessing the viability and historical performance of investment strategies.

Now, let's delve into the concepts used in the provided article about the Quant Investing stock screener's new backtesting feature:

  1. Back Testing: Backtesting involves assessing the historical performance of an investment strategy by applying it to past market data. In the context of the Quant Investing stock screener, backtesting allows users to evaluate how their chosen investment strategy would have performed in the past.

  2. Point-in-Time Data: The article emphasizes the use of point-in-time data for backtesting. This approach ensures that historical results are based on actual values, ratios, and indicators as they were at the selected point in time, preventing look-ahead or survivorship bias. The Quant Investing stock screener achieves this by saving the entire screener database every day since December 4, 2015.

  3. Steps to Back Test Your Investment Strategy: The article provides detailed steps on how users can backtest their investment strategy using the historical point-in-time database:

    • Login and Set Up: Users need to log in and set up a stock screen using the Quant Investing screener.
    • Get Historical Results: After running a screen, users can access historical results by clicking on the Historical Screener icon and selecting relevant dates.
    • Select Dates: Users choose a date in the past for the screener results and, optionally, a second closing price date to calculate stock price percentage changes.
    • Confirmation: Clicking "Confirm" initiates the historical screen, revealing how the investment strategy would have performed.
  4. Dealing with "No Data" Scenarios: The article addresses the possibility of encountering "No Data" messages, which can occur on market holidays. Users are advised to select a day before or after the chosen date to resolve this issue.

  5. Interpreting Back Test Results: The results of the backtest include information such as the saved screen name, the date being tested, the saved template used, the closing stock price on the test date, the second closing price (if selected), and the percentage change in stock price.

  6. Addressing Unusual Returns: The article provides guidance on handling unusual returns, such as -100% or extremely high returns. It suggests investigating events like takeovers, stock splits, or bankruptcies. If needed, users can export backtest results to Microsoft Excel for further analysis.

  7. Exporting to Excel: Users are reminded that they can export backtest results to Microsoft Excel for additional calculations by clicking on the "Export Data to MS Excel" icon.

This comprehensive approach to backtesting with point-in-time data provides personal investors using the Quant Investing stock screener with valuable insights into the historical performance of their investment strategies.

Stock Screener with Back test function | Quant Investing (2024)

FAQs

How do you backtest a stock screener? ›

Backtest before invest
  1. Verify investment strategies. Do you want to invest in a promising strategy that you found with the Screener? ...
  2. Backtest copied portfolios. Before copy trading a portfolio, calculate the return by backtesting. ...
  3. Top ROI through criteria weighting. ...
  4. Optimize rebalance intervals.

How do you backtest investing strategies? ›

Steps on how to backtest a trading strategy
  1. Step 1: Define the trading strategy. ...
  2. Step 2: Obtain historical data. ...
  3. Step 3: Execute the strategy. ...
  4. Step 4: Track and record results. ...
  5. Step 5: Analyse the results. ...
  6. Step 6: Refine and optimise the strategy. ...
  7. Step 7: Validate the strategy.
Aug 14, 2023

How do I find the best stocks using screener? ›

How to Use a Stock Screener
  1. Profit Givers: Find large-cap companies with a net profit growth of more than 15%.
  2. Value Stocks: Identify undervalued stocks using the PE and PEG ratios.
  3. Promoter Rich: Discover companies where promoters have a majority stake.
Jan 19, 2024

Is stock Screener reliable? ›

They are good building blocks for novices, or to quickly generate a list of a certain type of stock. Expert strategies. Screeners offer a deeper look at more sophisticated investing strategies for experienced traders. They are frequently backtested and can be used for day trading.

How do you backtest accurately? ›

- To improve backtesting accuracy, ensure that the historical data used in the backtest is of high quality and accurately reflects the market conditions. Adjusting the spread and slippage settings in the Strategy Tester to match real trading conditions can also enhance accuracy.

Is there any free backtesting software? ›

BacktestZone is a free-to-use no-code backtesting platform that helps beginner and professional traders backtest any number of trading strategies in minutes.

How to backtest trading strategy for free? ›

How to manually backtest a trading strategy?
  1. Clearly define a trading plan and in-depth strategy. A trading plan is developed based on the financial market, trading period, risk level, profit targets, general entry-exit levels, etc. ...
  2. Specify a financial market and timeframe. ...
  3. Begin the backtesting of strategy.

What are the disadvantages of backtesting? ›

Shortcomings of Back-Testing

Another limitation is the inability to model strategies that would affect historic prices, and finally, back-testing is limited by potential curve fitting. Meaning, it is possible to find a strategy that would have worked well in the past, but will not work well in the future.

How far back should you backtest a trading strategy? ›

When you are backtesting a day trading strategy (15-minute timeframe or lower), it is usually enough to go back two to three months and start your backtest there. When you are backtesting a strategy on a higher timeframe, you will have to go back 6 to 12 months.

What is the best stock screener for beginners? ›

Some of the best free screeners on the web include those offered by Yahoo! Finance, StockFetcher, ChartMill, Zacks, Stock Rover, and Finviz. They all offer users a series of basic and advanced screeners. Many stock screeners offer both basic and advanced, or free and premium, services.

What is the best stock screener to find undervalued stocks? ›

StocksToTrade — Best Overall Undervalued Stock Screener

It's also great for screening for undervalued stocks — it has indicators like EPS and P/E ratio built in. Its true strength is in trading though. If you have a strategy balanced between long-term and short-term trading, it's an awesome resource!

How do you find the undervalued stock screener? ›

Here are eight ratios commonly used by traders and investors to spot undervalued stocks and determine their true value:
  1. Price-to-earnings ratio (P/E)
  2. Debt-equity ratio (D/E)
  3. Return on equity (ROE)
  4. Earnings yield.
  5. Dividend yield.
  6. Current ratio.
  7. Price-earnings to growth ratio (PEG)
  8. Price-to-book ratio (P/B)

What is the most successful stock screener? ›

Compare the Best Stock Screeners
Stock ScreenerMonthly PriceBest Features
Stock Rover Best for Buy & Hold InvestingStarts at $7.99/mo.Stock rating system
TC2000 Best OverallStarts at $9.99/mo.Powerful screening tools
TradingView Best for Global InvestingStarts at $14.95/mo.Follows 70+ global exchanges
3 more rows

Who is the most accurate stock picker? ›

Summary of the best stock picking services
  • Best overall: Motley Fool Stock Advisor.
  • Best quant-driven service: Alpha Picks.
  • Best for portfolio management: The Barbell Investor.
  • Best for a high-caliber team of analysts: Moby.
  • Best for disruptive technology: Motley Fool Rule Breakers.
Jan 9, 2024

Who gives the best stock advice? ›

Top 5 trusted stock market advisors in India
  • Best Stock Advisory.
  • CapitalVia Global Research Limited.
  • Research and Ranking.
  • AGM Investment.
  • HMA Trading.
Nov 30, 2023

Is backtesting free on TradingView? ›

Cost - Basic backtesting capabilities are available for free on TradingView and reasonably priced paid plans give more advanced options. Platform access - Web-based platform means TradingView can be accessed from anywhere.

Can I backtest using TradingView? ›

TradingView offers a rich set of tools to facilitate backtesting: Bar Replay Function: Enables manual backtesting. Pine Script: A scripting language unique to TradingView, allowing you to code your own strategies and then backtest them using the Strategy Tester.

How do screener ratios work? ›

There are screeners based on P/E ratio, past price performance, P/BV for select industries, dividend yield etc. These ratios help you to shortlist companies that have a valuation comfort for the investor. You don't just need a stock that is available at a price lower than the intrinsic value.

Top Articles
Latest Posts
Article information

Author: Aron Pacocha

Last Updated:

Views: 5817

Rating: 4.8 / 5 (68 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Aron Pacocha

Birthday: 1999-08-12

Address: 3808 Moen Corner, Gorczanyport, FL 67364-2074

Phone: +393457723392

Job: Retail Consultant

Hobby: Jewelry making, Cooking, Gaming, Reading, Juggling, Cabaret, Origami

Introduction: My name is Aron Pacocha, I am a happy, tasty, innocent, proud, talented, courageous, magnificent person who loves writing and wants to share my knowledge and understanding with you.