Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 aligator, 01-06-2022, 12:14 PM
    4 responses
    232 views
    0 likes
    Last Post john_44573  
    Started by reynoldsn, Today, 05:56 PM
    0 responses
    3 views
    0 likes
    Last Post reynoldsn  
    Started by bortz, 11-06-2023, 08:04 AM
    51 responses
    1,986 views
    0 likes
    Last Post aligator  
    Started by dmking, 11-12-2019, 12:31 PM
    4 responses
    4,146 views
    0 likes
    Last Post jasonw
    by jasonw
     
    Started by roblogic, Today, 04:31 PM
    0 responses
    10 views
    0 likes
    Last Post roblogic  
    Working...
    X