NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 06-13-2012, 12:25 AM   #1
freewind
Senior Member
 
Join Date: Jan 2010
Posts: 279
Thanks: 17
Thanked 4 times in 3 posts
Default Multi-Instrument Strategy No Calls to OnBarUpdate()

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
freewind is offline  
Reply With Quote
Old 06-13-2012, 04:38 AM   #2
NinjaTrader_Joydeep
NinjaTrader Customer Service
 
NinjaTrader_Joydeep's Avatar
 
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
Default

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.
NinjaTrader_Joydeep 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
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


All times are GMT -6. The time now is 10:38 PM.