Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NinjaScript Output - Strategy Analyzer

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

    NinjaScript Output - Strategy Analyzer

    Hi,

    Can i receive a confirmation that someone suggested with a strategy with a lot of parameters that if you add a checkbox to not show the NS output it would run much quicker. Is this true?

    #2
    Hello willthebill,

    The number of public properties added to a script would not involve the script printing to the NinjaScript Output window.

    If you are calling print a large number of times in your code, this can have a performance impact when running a backtest or a script in real-time.
    Prints are generally used for debugging when there is an issue.
    In a production environment you would want all prints suppressed or commented out. You can add a public bool property to control if the scrips is adding prints.

    Note, this would not affect sluggishness in the Strategy Analyzer due to a large amount of public properties.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks for clearing this up.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by brucerobinson, Today, 07:08 AM
      3 responses
      18 views
      0 likes
      Last Post NinjaTrader_Clayton  
      Started by Dudley, Today, 09:52 AM
      2 responses
      10 views
      0 likes
      Last Post Dudley
      by Dudley
       
      Started by Johnny, Yesterday, 12:39 PM
      6 responses
      33 views
      0 likes
      Last Post Johnny
      by Johnny
       
      Started by Saronna, Today, 02:08 PM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_Clayton  
      Started by celtey, 03-21-2025, 09:46 AM
      6 responses
      80 views
      0 likes
      Last Post celtey
      by celtey
       
      Working...
      X