NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 11-20-2009, 12:06 PM   #1
marcjohnson
Junior Member
 
Join Date: Dec 2008
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
Default Detect Begin and End of Backtest on multiple instruments

Given I am backtesting a group of instruments... what is a generic technique to detect the beginning and end of the entire backtested group... not per instrument?

I notice Initialize() and Dispose() get called for each instrument (multiple times), which is what I don't want.

Can't hard code any times/dates or instruments as reference points, since these are variable...

There has GOT to be a simple way to do this. For example is there a GUID for the entire multi-instrument backtest I can reference? A function to override? Some other technique?

Thanks a lot!
-Marc
marcjohnson is offline  
Reply With Quote
Old 11-20-2009, 12:29 PM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

Marc, unfortunately there's no supported method for this available.
NinjaTrader_Bertrand 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
Bars Do Not Begin and End At The Right Time azenergizer Charting 2 07-17-2009 10:04 AM
Bars Do Not Begin and End At The Right Time azenergizer Charting 0 07-17-2009 08:57 AM
Session begin and end times astrolobe Suggestions And Feedback 1 05-12-2009 07:01 AM
Using different timeframes AND session begin / end Brian1 Strategy Development 4 03-06-2009 12:59 PM
Session begin and end time Gains Suggestions And Feedback 1 04-19-2007 04:36 PM


All times are GMT -6. The time now is 11:36 PM.