NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Strategy Analyzer

Strategy Analyzer Support for automated system backtesting and optimization using the NinjaTrader Strategy Analyzer.

Reply
 
Thread Tools Display Modes
Old 07-16-2007, 01:54 PM   #1
richa61416
Senior Member
 
Join Date: Jun 2007
Location: Anguilla
Posts: 140
Thanks: 0
Thanked 1 time in 1 post
Default Backtesting a Basket of Contract?

Here is my problem.

When I develop a strategy, and backtest it against the last 4 contracts of the SP500 (0906 1206 0307 0607). I get inflated results, as it would report on periods in which the contract was not active. E.g. 0307 would have results from Nov 06 and Oct 06.

I spend quite some time trying to get the bottom and determine what are the correct months for which I should record the results.

In a webinar, it was mentioned I should merge the contract. I tried to take an empty contract, and copy data into it, but that didnot work, since the reported that no data was in the empty contract.

Is there anyway, that I can only include the period for which the contract would have been active during the back testing? Or this is in the next release? Or you can explain how to build a super contract, that would be accurate in terms of Volume, price ,etc.
richa61416 is offline  
Reply With Quote
Old 07-16-2007, 04:12 PM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,164
Thanks: 6
Thanked 46 times in 32 posts
Default

If you have ES 09-06 and ES 06-06 both with data, you could merge ES 06-06 into the 09-06 contract.

Under Tools > Historical Data > Merge you would set the to date to the contract boundary, such as 06/08 which was the rollover day for this contract.
NinjaTrader_Ray is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chart problems while backtesting MikeS Strategy Analyzer 9 04-22-2009 07:33 AM
Data loading for backtesting linuxrules Strategy Analyzer 7 06-13-2007 04:27 PM
Backtesting AO76 Strategy Development 2 05-23-2007 09:48 AM
Backtesting with a simulated account? NinjaTrader_Josh Strategy Analyzer 1 05-23-2007 06:57 AM
FOREX backtesting. sknudsen Strategy Analyzer 3 05-10-2007 01:14 PM


All times are GMT -6. The time now is 07:35 AM.