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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    50 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    22 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    16 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    22 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    23 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X