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

Generating Ninjascript Caching Code

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

    Generating Ninjascript Caching Code

    I prefer to develop my Ninjatrader Code Outside of the main Ninjatrader folder for various reasons. My files are copied over in a post-build task and Ninjatrader detects them and builds them into the Ninjatrader.Custom.dll.

    I've had problems the last few days and I have tracked it down to the "Ninjascript Generated Code" at the Bottom of my Ninjascript classes not being regenerated.

    If I modify a file (even just a ctrl-s) it the code gets generated. But not when its copied into the folder - copying a file in triggers the build, but not the code generation.

    I've tried various things like adding a blank line during the build task and updating the timestamp, but can't get the code to generate automatically.

    Any ideas how I can trigger this?

    #2
    Hello reach4thelasers, and thank you for your report.


    This behavior was confirmed on our end. We will be investigating this further. Please keep an eye on the NinjaTrader 8 Release Notes page for updates and bugfixes.





    Tracking ID: NTEIGHT-11599
    Jessica P.NinjaTrader Customer Service

    Comment


      #3
      Hello reach4thelasers,

      As there is no comparable NT7 or documented NT8 behavior, and this requires new development, and some users may prefer Ninja not generate code to add to externally managed code, I have submitted a feature request to the product management team for the following feature :
      When NS files are copied in, this user would like NS to generate its usual generated code, without having to modify the code in the editor. There should be an option to disable this behavior through Tools -> Options
      I will follow up with more information as soon as it's available. If the feature requests already exists, a vote will be added to it.

      Please let us know if there are any other ways we can help.
      Jessica P.NinjaTrader Customer Service

      Comment


        #4
        Hello reach4thelasers,

        This feature is being reviewed by the product management team and has been assigned the following unique tracking ID


        SFT-2195


        Please let us know if there is any other way we can help.
        Jessica P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by funk10101, Today, 09:43 PM
        0 responses
        6 views
        0 likes
        Last Post funk10101  
        Started by pkefal, 04-11-2024, 07:39 AM
        11 responses
        37 views
        0 likes
        Last Post jeronymite  
        Started by bill2023, Yesterday, 08:51 AM
        8 responses
        44 views
        0 likes
        Last Post bill2023  
        Started by yertle, Today, 08:38 AM
        6 responses
        26 views
        0 likes
        Last Post ryjoga
        by ryjoga
         
        Started by algospoke, Yesterday, 06:40 PM
        2 responses
        24 views
        0 likes
        Last Post algospoke  
        Working...
        X