Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error Handling

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Error Handling

    Hi,

    How can I catch run time errors on my strategy?
    I noticed there are sections in the help for compile errors and broker's rejected orders errors but what about all other errors which can occur on run time?
    Does Try and Catch works? Is there a global parameter for general errors, anything like that?

    Thanks

    #2
    Kiss,

    Here is a try/catch reference sample : http://www.ninjatrader.com/support/f...ead.php?t=9825

    This catches any errors that may occur during run-time, however wont be order rejections, etc.
    Adam P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by newdill, Today, 07:54 AM
    0 responses
    1 view
    0 likes
    Last Post newdill
    by newdill
     
    Started by qwertyjjj, Today, 06:52 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by NeverDownMoney, 09-25-2020, 09:40 PM
    1 response
    13 views
    0 likes
    Last Post NT-Roland  
    Started by wjadevries, Today, 04:21 AM
    1 response
    12 views
    0 likes
    Last Post wjadevries  
    Started by butt_toast, Yesterday, 01:16 PM
    1 response
    20 views
    0 likes
    Last Post NinjaTrader_Jason  
    Working...
    X