Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT recompiling everything regardless if there were any changes.

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

    NT recompiling everything regardless if there were any changes.

    Why does NT starts recompiling something when I try to add a strategy or an indicator a chart? I think it also does this when I try to open a strategy analyzer. If there hasn't been any changes to the source code, why does it need to recompile anything? I actually think it recompiles all the strategies and indicators regardless of if they have been changed and since I have a lot of them it takes forever. Could you implement some way of checking if a recompile is actually needed?

    Thanks,
    Tim

    #2
    Hello Tim,

    Can you please tell me how you determined that NinjaScript files are compiled when a strategy or indicator is added to a chart or when opning a Strategy Analyzer? I do not experience this on my end when I test it. What steps do you perform when you notice this?
    JasonNinjaTrader Customer Service

    Comment


      #3
      NT becomes unresponsive, I can see ninjatrader.exe and csc.exe using CPU. This happens after each time I make a change and recompile an indicator or strategy. Is it really necessary for NT to recompile anything after that?

      Comment


        #4
        Unfortunately if you compile an indicator or strategy, all NinjaScript files will be compiled. This is as expected.

        I will forward your suggestion to implement a way to check if the compiling of all NinjaScript files is required when you compile 1 indicator or strategy to development to put it on the list of future considerations. Thank you for your feedback.
        JasonNinjaTrader Customer Service

        Comment


          #5
          Unfortunately this will not be possible. The NinjaScript environment will need to be generated as a whole.
          JasonNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by rdtdale, Today, 01:02 PM
          0 responses
          0 views
          0 likes
          Last Post rdtdale
          by rdtdale
           
          Started by alifarahani, Today, 09:40 AM
          3 responses
          15 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by RookieTrader, Today, 09:37 AM
          4 responses
          18 views
          0 likes
          Last Post RookieTrader  
          Started by PaulMohn, Today, 12:36 PM
          0 responses
          5 views
          0 likes
          Last Post PaulMohn  
          Started by love2code2trade, 04-17-2024, 01:45 PM
          4 responses
          40 views
          0 likes
          Last Post love2code2trade  
          Working...
          X