![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Dec 2008
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
|
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 |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
|
Marc, unfortunately there's no supported method for this available.
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |