Live Trading vs. Backtesting

We typically develop quantitative investment strategies in a virtual environment. By simulating investment algorithms in so-called backtests, we can analyze the algorithm's behavior and performance over a historical period. However, it is not always clear if the assumptions made during backtesting hold in live trading. Therefore, it is crucial to verify that live trading tracks the simulated results closely. This article looks at two strategies we employ in our own accounts and compares the simulated results to our live trading.

Example 1: All-Stars Total Return

The first strategy we like to trade in our accounts is the All-Stars Total Return portfolio. We consider this portfolio a middle-of-the-road portfolio, delivering returns comparable to the S&P 500 while having a risk-profile closer to a 60/40 Portfolio. With these characteristics, the portfolio appeals to a wide range of investors.

TuringTrader's All-Stars Total Return: live trading vs backtest

The chart above shows how our live trading account closely tracks the portfolio's backtested results. However, a few details deserve mentioning.

We are trading the strategy in an IRA account, funded with approximately $120,000 on January 4th, 2021. We made no contributions to the account throughout the year and recorded its value daily. The account size is large enough to allow for accurate position sizing. Smaller accounts will most likely deviate more from their backtests.

We are holding the account at Interactive Brokers. The brokerage charges $0.015 commission per trade, with a minimum of $1. The All-Stars Total Return portfolio trades frequently, and especially the VIX Spritz component makes daily adjustments. Because these adjustments are often minimal, we did not take every trade. Instead, we applied the following scheme:

  • skip orders with a total dollar amount of less than $500
  • skip orders changing one asset's position by less than 0.5%

These rules help avoid the minimum commission, which effectively increases the commission paid per share. Therefore, this scheme is especially beneficial for smaller accounts. This step might not be necessary for very large accounts, but we still consider it good practice.

We hold the portfolio in a managed account, which charges monthly management fees. Therefore, we adjusted our live trading results to their before-fees values to keep the results consistent with the backtested figures.

MetricLive TradingBacktest
Simulation Start: 01/04/2021$1,000.00$1,000.00
Simulation End 12/10/2021$1,223.79$1,236.79
Simulation Period0.9 years
Compound Annual Growth Rate24.23%25.65%
Stdev of Returns (Monthly, Annualized)7.66%6.83%
Maximum Drawdown (Daily)4.69%4.79%
Maximum Flat Days46.00 days43.00 days
Sharpe Ratio (Rf=T-Bill, Monthly, Annualized)2.092.31
Beta (To Benchmark, Monthly)1.02- benchmark -
Ulcer Index1.35%1.41%
Ulcer Performance Index (Martin Ratio)17.9318.18

The table above compares the backtested metrics with live traded results. We see that overall the results are very close. The remaining deviation is most likely caused by slippage. Because our portfolios use market orders on open, slippage may be slightly more pronounced than it would be using stop or limit orders. However, the results demonstrate that the price to pay for the convenience of placing orders outside of regular market hours is relatively small under typical market conditions.

Example 2: All-Stars Monthly

The second portfolio we trade is the All-Stars Monthly portfolio. The portfolio's objective is very similar to All-Stars Total Return. However, less frequent trading thanks to the monthly rebalancing schedule helps implement the portfolio in retirement accounts with no margin capability.

TuringTrader's All-Stars Monthly: live trading vs backtest

Again, we see that our live trading closely matches the backtested results. Here are some additional notes:

We are trading the strategy in a Roth IRA account with a starting value of approximately $100,000 on January 1st, 2021. This account size is significantly larger than the portfolio's minimum capital requirement, allowing for accurate position sizing.

We hold the account at Interactive Brokers, and it is subject to trading commissions identical to the previous example. Therefore, we use the same methods to reduce unnecessary trades outlined above to minimize the adverse effects of the minimum commission of $1 per trade.

MetricLive TradingBacktest
Simulation Start 01/04/2021$1,000.00$1,000.00
Simulation End 12/10/2021$1,170.58$1,178.33
Simulation Period0.9 years
Compound Annual Growth Rate18.44%19.28%
Stdev of Returns (Monthly, Annualized)6.81%6.15%
Maximum Drawdown (Daily)3.49%3.72%
Maximum Flat Days82.00 days80.00 days
Sharpe Ratio (Rf=T-Bill, Monthly, Annualized)1.501.58
Beta (To Benchmark, Monthly)1.03- benchmark -
Ulcer Index1.31%1.44%
Ulcer Performance Index (Martin Ratio)14.0913.34

The table shows how the backtested results compare to live trading. Again, we see that live trading closely tracks the backtest with relatively minor deviations. Compared to the previous example, the tracking error is a bit smaller. This can probably be explained by the portfolio's monthly trading frequency, leaving less room for deviations.


Based on these results, we are confident that our backtests closely match results from live trading. By applying some common-sense rules to filter unnecessary trades, we have been able to keep trading commissions low and avoid excessive commissions caused by the broker's minimum commission amount.

To better understand how we simulate our portfolios, we recommend interested investors to read about our backtesting assumptions.