Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

TraceOrders and Debuggin in Production Strategy Code

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

    TraceOrders and Debuggin in Production Strategy Code

    Hey:

    Is there any drawbacks to continuing to leave or have enabled TraceOrders and Debugging on in the code in production Strategies that are used for real live money or real live sim trading?

    Please let me know pros and or any cons (if any).
    Thanks...


    #2
    Hello birdog,

    The Pros are that you will have a detailed log of what your strategy is doing and all of the debug statements that you have written.

    The Cons are that using the printing information to the Output window like TraceOrders and Print() will use some memory. Most of the time this is not too much of an issue using it in real-time but can get taxing when using in a Backtest.

    You may want to keep your TraceOrders and Debugging info if you are not 100% comfortable with your strategy.

    Let us know if we can be any further assistance.
    JCNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    648 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    369 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    572 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    573 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X