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 Felix Reichert, 04-26-2024, 02:12 PM
          7 responses
          48 views
          0 likes
          Last Post Felix Reichert  
          Started by Irukandji, Yesterday, 05:50 AM
          2 responses
          8 views
          0 likes
          Last Post Irukandji  
          Started by Creamers, 04-27-2024, 05:32 AM
          10 responses
          66 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by seq2seq, 05-07-2023, 07:26 PM
          7 responses
          566 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by manueldecastro, Today, 10:26 AM
          3 responses
          12 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Working...
          X