NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


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

General Programming General NinjaScript programming questions.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 05-07-2012, 08:42 AM   #29
NJA_MC
Member
 
Join Date: Nov 2010
Posts: 51
Thanks: 8
Thanked 3 times in 3 posts
Default

Brett,

Yes, it is timer only related and still only testing with replay. Works fine without firing the CustomerTimerEvent(). I can't trap the error, and NT7 seems to die internally when it generates the **NT** errors, stops processing Order Transactions.

My final application does a lot of Trailing Stop type functions in the OnMarketData(). But I don't think we need to complicate things that far. The same issue occurs in the demo code I uploaded and you can see it doesn't trap the error in that case, just orders stop being processes.
NJA_MC is offline  
Reply With Quote
 

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 strategy PnL jp_kettunen Miscellaneous Support 5 03-18-2010 09:46 AM
Is OnMarketData multi-threaded? evlap General Programming 2 10-24-2009 11:46 AM
Exposing a dictionary blarouche Indicator Development 8 10-20-2009 10:25 AM
NT is multi-threaded? JS999 Suggestions And Feedback 3 04-16-2009 09:03 AM
Multi-Threaded bsamani General Programming 1 02-08-2009 09:24 AM


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