![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jan 2010
Posts: 279
Thanks: 17
Thanked 4 times in 3 posts
|
Hi,
I develop a multi-instrument strategy that load a significant amount of instruments. When I debug the strategy I see that the Initialize() is called and all the instruments are loaded but then I get a second call to the Initialize() function and then the strategy terminate without calling OnStartUp(),OnBarUpdate(), OnTermination(). There are no Errors in the log window. When I decrease the number of Instruments the strategy works fine. I guess the problem is with one of the instrument I'm trying to load but without getting an error I cannot find this instruments. Please advise. TX, Roy |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
Hello Roy,
Can you send a toy code* replicating the exact scenario to support[AT]ninjatrader[DOT]com. Please append Attn:Joydeep in the subject line of the email and give a reference of this thread in the body of the email. I look forward to assisting you further. *The "toy" just means something that is a stripped down version that isn't necessarily the whole logic. It makes things easier to rout out.
Joydeep M.
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multi-Instrument Multi-Entry Strategy: Getting EntryOrder Info | AntiMatter | Strategy Development | 11 | 06-22-2011 12:01 PM |
| problems getting OnBarUpdate() calls - NT 7 | andrewbee | Strategy Development | 6 | 02-10-2011 02:23 PM |
| Sub minute calls to OnBarUpdate() | mtthwbrnd | Strategy Analyzer | 2 | 04-17-2010 04:44 AM |
| Multi-Instrument Strategy OnBarUpdate Sequence | fwalton | Strategy Development | 2 | 07-01-2009 02:46 PM |
| Multi instrument - OnBarUpdate not performed | TheChingachgook | Strategy Development | 1 | 09-11-2008 08:10 AM |