Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Guidance on Strategy Debug Process

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

    Guidance on Strategy Debug Process

    Hello Ninja Support Forum,

    I am new to strategy development. I successfully imported a strategy from a third person. This strategy is applied via a 5 minute chart and a 1 Tick bars object is added. I want to make a small change to this strategy.

    What is the best way to debug this change? I am guessing that I should record the data from a LIVE session from IB and then use the Market Replay function to debug this change.

    Please advise me on the best practical way to debug this strategy code change.

    Thanks,
    Steve

    #2
    steve,

    I am not sure what you are attempting to do here. Debugging is typically needed only if you are sure there is an error in the code. If you are wanting to test the code to ensure it still works, I would suggest doing as you say, i.e. testing it in market replay, and any other way you plan on using it.

    When you compile the strategy it will immediately let you know if there are any obvious errors. Sometimes however the compiler may miss something, and in this case you can use Print statements as well as Try/catch.

    Adam P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by sjsj2732, Yesterday, 04:31 AM
    0 responses
    36 views
    0 likes
    Last Post sjsj2732  
    Started by NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    287 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    287 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    133 views
    1 like
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    95 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Working...
    X