Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT Version (8.1.2.0) import error with a protected compiled assembly

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

    Originally posted by NinjaTrader_BrandonH View Post
    Hello sidlercom80,

    Thanks for your notes.

    Yes, you could export protected NinjaScript assemblies from NT 8.1.3.0 using Agile 6.9.1.2.

    Those exported assemblies should successfully import onto the previous versions of NinjaTrader 8, such as the ones that you mentioned (8.0.28.0, 8.1.1.7, 8.1.2.1).
    Hi Brandon,


    Thank you for the feedback. Are you 100% sure that Agile.Net 6.9.1.2 (NinjaTrader Edition) was used to test this? I don't believe that! Please watch my video, where you can clearly see that it doesn't work.

    Video here: https://drive.google.com/file/d/1bum...ew?usp=sharing

    The test zip file that was made with NT v8.1.3.0 and Agile.Net 6.9.1.2 (NinjaTrader Edition) is here: https://drive.google.com/file/d/110j...ew?usp=sharing
    And the original file here: https://drive.google.com/file/d/1OOz...ew?usp=sharing
    sidlercom80
    NinjaTrader Ecosystem Vendor - Sidi Trading

    Comment


      Hello sidlercom80,

      Thanks for your notes.

      My colleague NinjaTrader_ChelseaB specifically tested exporting a protected assembly from NinjaTrader 8.1.3.0 using Agile.NET 6.9.1.2 (NinjaTrader Edition) and imported the assembly onto previous NinjaTrader versions.

      Here is a demonstration video showing exporting a protected assembly from NT 8.1.3.0 using Agile.NET 6.9.1.2 (NinjaTrader Edition) and importing the assembly to NT 8.0.28.0: https://drive.google.com/file/d/1uK_...w?usp=drivesdk

      The reference sample used in the demonstration video to test this could be found here: https://ninjatrader.com/support/help...ned_parame.htm

      Attached here is the protected assembly exported from 8.1.3.0 using Agile.NET 6.9.1.2 (NinjaTrader Edition) that you could test importing on your end: https://drive.google.com/file/d/1i4q...ew?usp=sharing

      NinjaTrader_ChelseaB also tested exporting the Adx_Testing script you shared from NT 8.1.3.0 using Agile.NET 6.9.1.2 (NinjaTrader Edition) and importing it into 8.0.28.0 and the script worked without any issues.

      Here is a demonstration video of the test: https://drive.google.com/file/d/1K_C...w?usp=drivesdk

      Attached here is the exported protected assembly used to test this: https://drive.google.com/file/d/122x...ew?usp=sharing
      Last edited by NinjaTrader_BrandonH; 04-11-2024, 11:53 AM.
      <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

      Comment


        Originally posted by NinjaTrader_BrandonH View Post
        Hello sidlercom80,

        Thanks for your notes.

        My colleague NinjaTrader_ChelseaB specifically tested exporting a protected assembly from NinjaTrader 8.1.3.0 using Agile.NET 6.9.1.2 (NinjaTrader Edition) and imported the assembly onto previous NinjaTrader versions.

        Here is a demonstration video showing exporting a protected assembly from NT 8.1.3.0 using Agile.NET 6.9.1.2 (NinjaTrader Edition) and importing the assembly to NT 8.0.28.0: https://drive.google.com/file/d/1uK_...w?usp=drivesdk

        The reference sample used in the demonstration video to test this could be found here: https://ninjatrader.com/support/help...ned_parame.htm

        Attached here is the protected assembly exported from 8.1.3.0 using Agile.NET 6.9.1.2 (NinjaTrader Edition) that you could test importing on your end: https://drive.google.com/file/d/1i4q...ew?usp=sharing

        NinjaTrader_ChelseaB also tested exporting the Adx_Testing script you shared from NT 8.1.3.0 using Agile.NET 6.9.1.2 (NinjaTrader Edition) and importing it into 8.0.28.0 and the script worked without any issues.

        Here is a demonstration video of the test: https://drive.google.com/file/d/1K_C...w?usp=drivesdk

        Attached here is the exported protected assembly used to test this: https://drive.google.com/file/d/122x...ew?usp=sharing
        The last video on this link https://drive.google.com/file/d/1K_C...w?usp=drivesdk Stops at about 3 minutes. only audio at this point. can you maybe reupload?

        Comment


          Hello Sebastian - TwinPeaks,

          Thanks for your notes.

          Below is a re-recorded demonstration video showing exporting the Adx_Testing script from NT 8.1.3.0 using Agile.NET 6.9.1.2 (NinjaTrader Edition) and importing it into 8.0.28.0 and the script working without any issues. Note that there is a small freeze for about a minute, however, the audio/video continues after the short pause.

          <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

          Comment


            For some NinjaTrader vendors, myself included, we need to export from 8.1 to import into 8.1, and from 8.0 to import into 8.0. This is required because customers continue to run 8.0 and do not want to migrate to 8.1. Therefore, a practical solution is required. What is the official solution for that?

            Thanks.
            Multi-Dimensional Managed Trading
            jeronymite
            NinjaTrader Ecosystem Vendor - Mizpah Software

            Comment


              Originally posted by NinjaTrader_BrandonH View Post
              Hello sidlercom80,

              Thanks for your notes.

              My colleague NinjaTrader_ChelseaB specifically tested exporting a protected assembly from NinjaTrader 8.1.3.0 using Agile.NET 6.9.1.2 (NinjaTrader Edition) and imported the assembly onto previous NinjaTrader versions.

              Here is a demonstration video showing exporting a protected assembly from NT 8.1.3.0 using Agile.NET 6.9.1.2 (NinjaTrader Edition) and importing the assembly to NT 8.0.28.0: https://drive.google.com/file/d/1uK_...w?usp=drivesdk

              The reference sample used in the demonstration video to test this could be found here: https://ninjatrader.com/support/help...ned_parame.htm

              Attached here is the protected assembly exported from 8.1.3.0 using Agile.NET 6.9.1.2 (NinjaTrader Edition) that you could test importing on your end: https://drive.google.com/file/d/1i4q...ew?usp=sharing

              NinjaTrader_ChelseaB also tested exporting the Adx_Testing script you shared from NT 8.1.3.0 using Agile.NET 6.9.1.2 (NinjaTrader Edition) and importing it into 8.0.28.0 and the script worked without any issues.

              Here is a demonstration video of the test: https://drive.google.com/file/d/1K_C...w?usp=drivesdk

              Attached here is the exported protected assembly used to test this: https://drive.google.com/file/d/122x...ew?usp=sharing
              ​
              Hi Brandon, thank you for your videos and test files. I don't know what I do differently than you, but it doesn't work for me.
              Please watch my video here with my own compile: https://drive.google.com/file/d/17SF...ew?usp=sharing
              and here with your compiled file: https://drive.google.com/file/d/17-n...ew?usp=sharing
              sidlercom80
              NinjaTrader Ecosystem Vendor - Sidi Trading

              Comment


                Hello sidlercom80,

                I noticed you clicked No to not include dependencies when exporting, while in the video I created I clicked Yes to include dependencies. That's one difference I see.

                Also, I made a clean environment folder when installing 8.0.28.0, which would also be a difference.

                Can you try creating a clean environment folder and importing the file brandon posted in post # 153?

                To create a clean temporary NinjaTrader folder:
                1. Shutdown NinjaTrader
                2. Rename (My) Documents\NinjaTrader 8\ to (My) Documents\NinjaTrader 8.original\
                3. Download the NinjaTrader installation package from the link below
                4. NinjaTrader - Download
                5. Run the repair from this (if the repair is unsuccessful, uninstall and then re-install NinjaTrader)
                Chelsea B.NinjaTrader Customer Service

                Comment


                  Originally posted by NinjaTrader_ChelseaB View Post
                  Hello sidlercom80,

                  I noticed you clicked No to not include dependencies when exporting, while in the video I created I clicked Yes to include dependencies. That's one difference I see.

                  Also, I made a clean environment folder when installing 8.0.28.0, which would also be a difference.

                  Can you try creating a clean environment folder and importing the file brandon posted in post # 153?

                  To create a clean temporary NinjaTrader folder:
                  1. Shutdown NinjaTrader
                  2. Rename (My) Documents\NinjaTrader 8\ to (My) Documents\NinjaTrader 8.original\
                  3. Download the NinjaTrader installation package from the link below
                  4. NinjaTrader - Download
                  5. Run the repair from this (if the repair is unsuccessful, uninstall and then re-install NinjaTrader)
                  Hi Chelsea,

                  I didn't click 'No' in the last video but instead confirmed 'YES' with the Enter key.

                  I made another video. It does NOT work!
                  sidlercom80
                  NinjaTrader Ecosystem Vendor - Sidi Trading

                  Comment


                    Hello sidlercom80,

                    Thank you for trying a clean environment folder.

                    Are you seeing the error with the file brandon posted in post # 153 as well?
                    (It looked like you downloaded this, but in the video I'm not seeing that you tested importing this. This will let me know if the export process is going wrong when you are exporting on your end, or if there is something we need to look into further with 8.0.28.0 on the other computer.)
                    Chelsea B.NinjaTrader Customer Service

                    Comment


                      Originally posted by NinjaTrader_ChelseaB View Post
                      Hello sidlercom80,

                      Thank you for trying a clean environment folder.

                      Are you seeing the error with the file brandon posted in post # 153 as well?
                      (It looked like you downloaded this, but in the video I'm not seeing that you tested importing this. This will let me know if the export process is going wrong when you are exporting on your end, or if there is something we need to look into further with 8.0.28.0 on the other computer.)
                      Hi Chelsea,

                      No, there were no problems importing the two files from Post with either 8.0.28.0 or 8.1.3.0
                      sidlercom80
                      NinjaTrader Ecosystem Vendor - Sidi Trading

                      Comment


                        Hello sidlercom80,

                        Ok, well this most likely indicates an issue when creating the export.

                        May I have you create a clean environment and re-download the installer for 8.1.3.0 and uninstall and re-install?

                        Please re-download the installer from the client portal and be sure to fully uninstall NinjaTrader from Windows Settings > Apps > Installed Apps.
                        Chelsea B.NinjaTrader Customer Service

                        Comment


                          Originally posted by jeronymite View Post
                          For some NinjaTrader vendors, myself included, we need to export from 8.1 to import into 8.1, and from 8.0 to import into 8.0. This is required because customers continue to run 8.0 and do not want to migrate to 8.1. Therefore, a practical solution is required. What is the official solution for that?
                          I am using and exporting from NT 8.0.28.0. No Issues Importing/Running on any NT version.
                          I presumed that to update to the new version of Agile would require new license key? No?

                          Can I use both at same time? My year up next mo and figured I'd convert everything then.
                          But if I can use both versions? I'll reach out to them now so that I can test things for myself.

                          ---------------------------------------------------------------------------------------------------------

                          Everyone Needs to Read Thread Below! None of us have much choice but to update w/this change!
                          Either that, or severely limit your customers abilities to debug any of their custom scripts w/VS!

                          Can anyone confirm ability to export from NT 8.1.3.0 w/new agile and import into ANY NT???
                          Just want to confirm everything fixed/working (including debug), before spending my time!


                          Please Be Safe in this Crazy World!
                          -=Edge=-
                          NinjaTrader Ecosystem Vendor - High Tech Trading Analysis

                          Comment


                            I come back to simple questions:
                            1. What is required to export from 8.1 to import into 8.1?
                            2. What is required to export from 8.0 to import into 8.0?
                            3. Given that both of the above are required, what is the official supported solution to achieve both of these on the same system?
                            This not a "nice to have" matter. Customers who remain on 8.0 must be supported. Customers who choose to migrate to 8.1 must be supported. Both need support via exports from both versions (8.0 and 8.1). This must be made possible on one system.

                            Whilst export between streams (8.0 to 8.1 and 8.1 to 8.0) may be desirable for some, the questions above are the minimum requirement for adequate vendor support of the product.

                            Thanks.​
                            Multi-Dimensional Managed Trading
                            jeronymite
                            NinjaTrader Ecosystem Vendor - Mizpah Software

                            Comment


                              Originally posted by NinjaTrader_ChelseaB View Post
                              Hello sidlercom80,

                              Ok, well this most likely indicates an issue when creating the export.

                              May I have you create a clean environment and re-download the installer for 8.1.3.0 and uninstall and re-install?

                              Please re-download the installer from the client portal and be sure to fully uninstall NinjaTrader from Windows Settings > Apps > Installed Apps.
                              https://account.ninjatrader.com/download
                              Hi Chelsea,

                              I did exactly as you asked, unfortunately without success. First NT uninstalled, re-downloaded and re-installed.
                              Here is another video: https://drive.google.com/file/d/17vL...ew?usp=sharing

                              Is it perhaps possible that the Agile version available for download is not the same one you are using for testing? I don't mean the version but the installer.
                              Last edited by sidlercom80; 04-13-2024, 05:29 AM.
                              sidlercom80
                              NinjaTrader Ecosystem Vendor - Sidi Trading

                              Comment


                                Sadly, this seems like while we've made a small step forward, we now have at least a small step back. It seems to me we're still in the same boat we were in before - if you want to export a single assembly that's supported on every version the only sure choice is to export from 8.0.28.0 or 8.1.1.7 using the older Agile.NET? But, now, we have a new limitation that we can't debug that anymore using the current NinjaTrader version. Am I understanding this situation correctly? Has anyone outside of NinjaTrader been able to export a protected assembly using 8.1.3.x and Agile.NET 6.9.1.2 and then import it successfully into both 8.1.1.7 and 8.0.28.0?
                                Bruce DeVault
                                QuantKey Trading Vendor Services
                                NinjaTrader Ecosystem Vendor - QuantKey

                                Comment

                                Latest Posts

                                Collapse

                                Topics Statistics Last Post
                                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                                0 responses
                                574 views
                                0 likes
                                Last Post Geovanny Suaza  
                                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                                0 responses
                                332 views
                                1 like
                                Last Post Geovanny Suaza  
                                Started by Mindset, 02-09-2026, 11:44 AM
                                0 responses
                                101 views
                                0 likes
                                Last Post Mindset
                                by Mindset
                                 
                                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                                0 responses
                                553 views
                                1 like
                                Last Post Geovanny Suaza  
                                Started by RFrosty, 01-28-2026, 06:49 PM
                                0 responses
                                551 views
                                1 like
                                Last Post RFrosty
                                by RFrosty
                                 
                                Working...
                                X