On the road again! Join tastytrade vets Tom, Liz, and Jenny as they venture out live for the first time in over 2 years at Chicago's Vic Theatre.
tastytrade logo

What is the Options Backtest feature?

Backtesting with lookback lets you see how a strategy has performed historically or may perform in the future, including key metrics from the past decade such as the win rate, max loss, and profit per trade. In addition, you can tweak your strategies and management parameters to see how they might alter your trading approach.

  • Analyze the performance of specific strategies on a selected underlying
  • Adjust trade specifications, such as deltas, days until expiration, number of contracts, etc., to see what provides the best balance of risk and reward.
  • Add management parameters, such as exiting at a specific day before expiration or setting a stop loss, to develop a deeper understanding into how to manage a portfolio.

How to use the Options Backtest feature?

Lookback Backtesting for Beginners

Number 1 in a red circle

 Select Duration

Upon entering the symbol, you will be able to see the various expiration cycles populated in the “Chain” tab. Here you can select the duration you would like to backtest by looking at the “X DTE” in the parenthesis next to each of the expiration dates.

Number 2 in a red circle

 Select Leg of Strategy

Upon choosing the duration, you can then select the legs of the strategy you want to backtest. The calls are on the left hand side of strike and the puts are on the right hand side. The outermost columns on either side are the delta values, and the inner columns are the bid and ask.


Number 3 in a red circle

 Sell/Buy/Clear a Contract

If you would like to sell a contract, click the bid column. If you would like to buy a contract, click the ask column. If you would like to clear the contract you just selected, either click clear in the top right corner, or click the action opposite of what you selected. So if you chose to sell a put by clicking on the bid column, click on the ask column and it will remove the short contract.

Number 4 in a red circle

 Choose Strategy

Choose any strategy you would like to test, and navigate over to the “Backtest” tab to continue. This will take you to the results page that shows you a variety of statistics about the strategy on this specific underlying. You can see win rate as a percentage, the total number of trades entered, the max loss, average premium collected per trade, the average profit per trade, average days in the trade, and average profit per day. 


Number 5 in a red circle

 Remove the Outliers

If you would like to remove the outliers, click the “Show Medians” button. By hovering over the chart, you can see how the strategy performed at different periods of time. If you would like to go back to the backtest page to change the contracts, click on the red button right above the y axis.

Number 6 in a red circle

 Go Back to Backtest Page

If you would like to go back to the backtest page to change the contracts, click on the red button right above the y axis.


Intermediate Backtesting - Entering Trades Manually

Number 1 in a red circle

 Choose Strategy

The other way to choose the strategy that you would like to backtest is by navigating to the “Backtest” tab after you enter in a symbol in the top bar. In the backtest tab, you can click on the red plus button at the bottom of the page to set up the strategy.


    Number 2 in a red circle

     Enter in Legs

    Here you will be prompted to add each leg of the trade individually. If you would like to sell an option, enter in the quantity preceded by a minus sign. Next, click on the drop down to choose what contract you would like to trade. You can choose between a call, put, or the stock itself. Now, enter the whole number delta value of the contract, so if you want to sell a 30 delta contract, enter “30”. Last, enter in the days until expiration for the contract. After entering in all of the information, click “OK”.


      That is for one leg of the trade, so if you are backtesting a multi-leg strategy, click on the plus button again to add more legs.

      Number 3 in a red circle

       Make Changes to Legs

      After entering in the legs, take a look to make sure the contracts look correct. You should see plus or minus 1 in the contract column, indicating whether you are buying or selling the option. In the type column, you should see the contract type you are trading, followed by the delta values and DTE for each contract. If you would like to make changes to any of the legs, click on the pencil icon, and if you would like to remove a leg, click on the trash icon. Once you are ready to view results, click on the “Run Backtest” button at the bottom of the page.


        Advanced Backtesting - Add Management Configurations

        Number 1 in a red circle

         Pull up Configuration Options

        Let’s say you want to manage your trade at 21 DTE. Click on the settings wheel button on the bottom of the page, next to the plus sign.

        Number 2 in a red circle

         Mange at 21 DTE

        This will pull up the configuration options, where you can choose whether you’d like to take profits early, set a stop loss, and/or exit at a specific DTE. To manage at 21 DTE, click on “Exit at DTE”, check the box, and enter in 21 on the line. Run the backtest again and you’ll see the changes in win rate and average days in trade.


          Number 3 in a red circle

           Change Stop Loss Percentage

          Let’s say that the max loss is still too big for you, and you want to have a stop loss at 2x the credit received. We can set that up by navigating back to the backtest configuration page, clicking on stop loss, selecting “At % of debit/credit” and entering 200%. Click “OK” and run the backtest again. You can see that the max loss is significantly smaller and the average profit per trade is greater.

          Number 4 in a red circle

           Adjust All Settings

          You might also notice the average days in trade increased, and this is because the configuration settings do not save when you go back to alter the backtest. So, each time you want to adjust one setting for the backtest, make sure you adjust all the settings to what you desire.

            More Features on Lookback

            Options Backtesting

            See how a strategy has performed historically or may perform in the future with the options backtesting feature in lookback.

            READ MORE

            Forecasted Profit & Loss

            Look forward in time and see how a strategy would perform between now and expiration.

            READ MORE

            Analysis & Statistics

            Analyze current positions to understand how price and time impacts your P/L, delta, and theta values.

            READ MORE

            tastytrade content is provided solely by tastytrade, Inc. (“tastytrade”) and is for informational and educational purposes only. It is not, nor is it intended to be, trading or investment advice or a recommendation that any security, futures contract, transaction or investment strategy is suitable for any person. Trading securities can involve high risk and the loss of any funds invested. tastytrade, through its content, financial programming or otherwise, does not provide investment or financial advice or make investment recommendations. Investment information provided may not be appropriate for all investors, and is provided without respect to individual investor financial sophistication, financial situation, investing time horizon or risk tolerance. tastytrade is not in the business of transacting securities trades, nor does it direct client commodity accounts or give commodity trading advice tailored to any particular client’s situation or investment objectives. Supporting documentation for any claims (including claims made on behalf of options programs), comparison, statistics, or other technical data, if applicable, will be supplied upon request. tastytrade is not a licensed financial advisor, registered investment advisor, or a registered broker-dealer. Options, futures and futures options are not suitable for all investors. Prior to trading securities products, please read the Characteristics and Risks of Standardized Options and the Risk Disclosure for Futures and Options found on 

            tastytrade is a trademark/servicemark owned by tastytrade.

            tastyworks, Inc. ("tastyworks") is a registered broker-dealer and member of FINRA, NFA and SIPC. tastyworks offers self-directed brokerage accounts to its customers. tastyworks does not give financial or trading advice nor does it make investment recommendations. You alone are responsible for making your investment and trading decisions and for evaluating the merits and risks associated with the use of tastyworks’ systems, services or products. tastyworks is a wholly owned subsidiary of tastytrade, Inc (“tastytrade”).

            tastyworks, Inc. (“tastyworks”) has entered into a Marketing Agreement with tastytrade (“Marketing Agent”) whereby tastyworks pays compensation to Marketing Agent to recommend tastyworks’ brokerage services. The existence of this Marketing Agreement should not be deemed as an endorsement or recommendation of Marketing Agent by tastyworks. tastytrade is the parent company of tastyworks. tastyworks and Marketing Agent are separate entities with their own products and services. tastytrade has different privacy policies than tastyworks.

            Quiet Foundation, Inc. (“Quiet Foundation”) is a wholly-owned subsidiary of tastytrade The information on is intended for U.S. residents only. All investing involves the risk of loss. Past performance is not a guarantee of future results. Quiet Foundation does not make suitability determinations, nor does it make investment recommendations. You alone are responsible for making your investment and trading decisions and for evaluating the merits and risks associated with the use of Quiet Foundation’s systems, services or products.

            Small Exchange, Inc. is a Designated Contract Market registered with the U.S. Commodity Futures Trading Commission. The information on this site should be considered general information and not in any case as a recommendation or advice concerning investment decisions. The reader itself is responsible for the risks associated with an investment decision based on the information stated in this material in light of his or her specific circumstances. The information on this website is for informational purposes only, and does not contend to address the financial objectives, situation, or specific needs of any individual investor. Trading in derivatives and other financial instruments involves risk, please read the Risk Disclosure Statement for Futures and Options. tastytrade is an investor in Small Exchange, Inc.

            © copyright 2013 – 2022 tastytrade. All Rights Reserved. Applicable portions of the Terms of use on apply. Reproduction, adaptation, distribution, public display, exhibition for profit, or storage in any electronic storage media in whole or in part is prohibited under penalty of law, provided that you may download tastytrade’s podcasts as necessary to view for personal use.