Basket Testing

<< Click to Display Table of Contents >>

Navigation:  Operations > Strategy Analyzer >

Basket Testing

Previous page Return to chapter overview Next page

You can Backtest, Optimize or Walk Forward optimize a basket of instruments by selecting an instrument list using the instrument selector in the settings panel.





Once the test is complete, a listing of all the results will be displayed.




1.Each instrument's backtest results are displayed individually


2.The combined backtest results of ALL instruments are shown at the bottom of the results


Selecting an individual row from the results grid will display the results in the Performance tabs individual performance results.


Reviewing Combined Results

When reviewing the following combined results, some values will be the total summation across all instruments, while others will be weighted to the total number number of trades.


The following results will be a summation across all instruments:


Total net profit
Gross profit
Gross loss
Total # of trades
# of winning trades
# of losing trades
# of even trades


For all other statistics, the combined results will be a weighted average (exception here is the RSquared statistic).


Calculating Weighted Combined Results

In order to understand how weighted combined results are calculated, lets use a simplified example which focuses on the Max. Drawdown across 4 different instruments:



Max. Drawdown

Total # of trades













Combined Results




As you can see, the Max.Drawdown column is NOT equal to the sum of the individual Max.Drawdown values for the that column.  This is because the total # of trades for the individual instrument and the total # of trades taken across all instruments is used to help provide more accurate statistics.  Working from the table above, the formula used to calculate these weighted averages can be expressed as follows:


Combined Max.Drawdown = SUM((AUDUSD Drawdown * AUDUSD Trade Count) + (EURJPY Drawdown * EURJPY Trade Count) + (EURUSD Drawdown * EURUSD Trade Count) + (GBPUSD Drawdown * GBPUSD Trade Count)) / Total Trade Count of All Instruments