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

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
    I have confirmed with my lead that with the change that SecureTeam pushed out (mentioned in post # 130) scripts that are exported from NT 8.1.2.1 using Agile.NET 6.9.1.2 should successfully import in NT 8.1.1.7 and NT 8.0.28.0.

    The NinjaTrader Development team will be implementing a change to the platform in a future release that will also help resolve issues regarding this topic.
    NinjaTrader_BrandonH What confuses me about this statement is that you seem to be saying it's fixed (8.1.2.1 using 6.9.1.2 imports into all three successfully) so why are you saying NT development has to take further steps to resolve issues? What issues would there be remaining in this area if indeed 8.1.2.1 using 6.9.1.2 can export a protected DLL that imports into all three successfully?
    Bruce DeVault
    QuantKey Trading Vendor Services
    NinjaTrader Ecosystem Vendor - QuantKey

    Comment


      Hello QuantKey_Bruce,

      Thanks for your notes.

      SecureTeam pushed out a change on their end regarding the NT edition of Agile.Net not working the same as the Commercial edition of Agile.NET to help resolve the behavior.

      The NinjaTrader Development team will also be implementing a further solution on our end into the platform in a future version release.
      Brandon H.NinjaTrader Customer Service

      Comment


        Originally posted by NinjaTrader_BrandonH View Post
        Hello QuantKey_Bruce,

        Thanks for your notes.

        SecureTeam pushed out a change on their end regarding the NT edition of Agile.Net not working the same as the Commercial edition of Agile.NET to help resolve the behavior.

        The NinjaTrader Development team will also be implementing a further solution on our end into the platform in a future version release.
        In what way do you hope to improve upon the current set of solutions?
        Bruce DeVault
        QuantKey Trading Vendor Services
        NinjaTrader Ecosystem Vendor - QuantKey

        Comment


          Hello QuantKey_Bruce,

          Thanks for your notes.

          The Development team will be implementing a fix to ensure exporting protected scripts can be imported on prior releases.

          Unfortunately, we cannot disclose specifics on this at this time.
          Brandon H.NinjaTrader Customer Service

          Comment


            Thanks again, NinjaTrader_BrandonH … but it is still not clear, to me at least.

            So, if you would please confirm:
            1. The fix will make it possible to export from any 8.1 version into any other 8.1 version
            2. The fix will make it possible to export from any 8.0 version into any other 8.0 version (with the reality being that it is probably only needed for versions 8.0.27.1 and 8.0.28.0)
            3. The fix will be fully implemented in a forthcoming update to NinjaTrader
            4. The fix will require only one version of Agile.NET for all exports from any version
            Question: How are exports that go in either direction between 8.1 and 8.0 guaranteed to work, given the potential incompatibilities that may exist in underlying structures and functionality? For example, references to anything to do with licences/entitlements in one stream will not work in the other.

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

            Comment


              Hello jeronymite,

              Thanks for your notes.

              Assemblies exported from 8.1.2.1 using Agile.NET 6.9.1.2 should import into 8.1.2.X and previous versions of NinjaTrader such as 8.1.1.7 and 8.0.28.0.

              Agile.NET 6.9.1.2 is necessary to use for exporting from NT 8.1.2.X and future versions released because NinjaTrader was updated to support C# 8 and the compiler was updated to use Roslyn.

              At this time assemblies exported from 8.1.1.7 should use Agile.NET 6.6.0.35 and should import into any NinjaTrader versions.

              At this time assemblies exported from 8.0 could be imported into other 8.0 versions. Agile.NET 6.6.0.35 should be used to export assemblies from 8.0.28.0.

              The Development team is implementing a solution in a future release to ensure exporting protected scripts can be imported on prior releases.

              We are still testing/researching the specific at this time so we do not have specific details we can share regarding the solution the Development team is implementing.
              Brandon H.NinjaTrader Customer Service

              Comment


                Originally posted by NinjaTrader_BrandonH View Post
                Assemblies exported from 8.1.2.1 using Agile.NET 6.9.1.2 should import into 8.1.2.X and previous versions of NinjaTrader such as 8.1.1.7 and 8.0.28.0.

                At this time assemblies exported from 8.1.1.7 should use Agile.NET 6.6.0.35 and should import into any NinjaTrader versions.

                At this time assemblies exported from 8.0 could be imported into other 8.0 versions. Agile.NET 6.6.0.35 should be used to export assemblies from 8.0.28.0.
                If I read this correctly, two incompatible versions of Agile.NET are required if one is to be able export and import across all versions. … How is that supposed to work?!

                Also, again if I read it correctly, work is in progress to ensure that no matter what stream one exports from (8.0 or 8.1), those exports will work in any version into which they are imported.

                Are these interpretations correct?

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

                Comment


                  Hello jeronymite,

                  Thanks for your notes.

                  The Agile.Net version you must use will depend on the NinjaTrader version you are trying to export the assembly from.

                  If you are exporting the assembly from NT 8.1.2.0 and above, Agile.NET 6.9.1.2 will need to be used. Assemblies exported from 8.1.2.0 and above using Agile.NET 6.9.1.2 should import into any version of NinjaTrader.

                  If you are exporting the assembly from NT 8.1.1.7 or 8.0.28.0, Agile.NET 6.6.0.35 will need to be used and should import into any version of NinjaTrader.

                  The solution the Development team will be implementing in a future release will be to ensure that exporting protected scripts can be imported on prior releases.
                  Brandon H.NinjaTrader Customer Service

                  Comment


                    Thanks, NinjaTrader_BrandonH.

                    Please provide clear instructions on how to have both versions of Agile.NET installed and operating in parallel without conflict, since that is what is required for vendors who support both 8.1 and 8.0 streams of NinjaTrader.

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

                    Comment


                      Hello jeronymite,

                      Thanks for your notes.

                      Assemblies can be exported from NinjaTrader 8.1.2.1 using Agile.NET 6.9.1.2 and those assemblies should import into any version of NinjaTrader (for example: 8.1.2.1, 8.1.1.7, and 8.0.28.0).

                      This would only be using one Agile.NET version to export assemblies that could import into any version of NinjaTrader.

                      Or, if you do not want to update to 8.1.2.1 and want to export from a version prior to 8.1.2.1, you could use NinjaTrader 8.1.1.7 to export assemblies using Agile.NET 6.6.0.35 and those assemblies should also import into all version of NinjaTrader (for example: 8.1.2.1, 8.1.1.7, and 8.0.28.0)

                      This would also only be using one Agile.NET version to export assemblies that could import into any version of NinjaTrader.

                      For further Agile.NET questions, such as if you could run two versions of Agile.NET in parallel, you could contact SecureTeam directly.
                      Last edited by NinjaTrader_BrandonH; 03-07-2024, 03:28 PM.
                      Brandon H.NinjaTrader Customer Service

                      Comment


                        Originally posted by NinjaTrader_BrandonH View Post
                        For further Agile.NET questions, such as if you could run two versions of Agile.NET in parallel, you could contact SecureTeam directly.
                        Thanks, NinjaTrader_BrandonH. Respectfully, given this is about being able to support both streams of NinjaTrader, 8.0 and 8.1, something that many vendors will probably need to do, it would be more appropriate for NinjaTrader to undertake that investigation in support of its customers and vendors. It can then ensure a fully supported solution is available for all.

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

                        Comment


                          Why am I able to export from NT 8.1.1.7 with Agile.NET version 6.9.1.2?
                          eDanny
                          NinjaTrader Ecosystem Vendor - Integrity Traders

                          Comment


                            Hell eDanny,

                            Thanks for your notes.

                            It may be possible to export an assembly from NT 8.1.1.7 using Agile.NET 6.9.1.2 but this is not the supported version of Agile.NET to use with NT 8.1.1.7.

                            The supported version of Agile.NET is 6.6.0.35 when exporting an assembly from NT 8.1.1.7.

                            If you are using Agile.NET 6.9.1.2, you should use NT 8.1.2.1.
                            Brandon H.NinjaTrader Customer Service

                            Comment


                              Hi NinjaTrader_BrandonH

                              I have a simple question. Should it be possible to export an assembly under the following conditions and use it successfully in the various NT versions?

                              Created and exported with NT v8.1.3.0 and Agile.NET 6.9.1.2 (NinjaTrader Edition)

                              Click image for larger version

Name:	AgileDotNet_R4vXMcDSPw.jpg
Views:	33
Size:	28.5 KB
ID:	1299248

                              NT v8.1.3.0 download source: Account dashboard
                              Agile.NET 6.9.1.2 download source: https://ninjatrader.com/support/helpGuides/nt8/NT%20HelpGuide%20English.html?protection_dll_secur ity.htm


                              can this be used in the versions or not?
                              NT Version YES NO
                              8.0.28.0
                              8.1.1.7
                              8.1.2.1
                              8.1.3.0
                              sidlercom80
                              NinjaTrader Ecosystem Vendor - Sidi Trading

                              Comment


                                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).

                                Brandon H.NinjaTrader Customer Service

                                Comment

                                Latest Posts

                                Collapse

                                Topics Statistics Last Post
                                Started by Haiasi, 04-25-2024, 06:53 PM
                                2 responses
                                17 views
                                0 likes
                                Last Post Massinisa  
                                Started by Creamers, Today, 05:32 AM
                                0 responses
                                5 views
                                0 likes
                                Last Post Creamers  
                                Started by Segwin, 05-07-2018, 02:15 PM
                                12 responses
                                1,786 views
                                0 likes
                                Last Post Leafcutter  
                                Started by poplagelu, Today, 05:00 AM
                                0 responses
                                3 views
                                0 likes
                                Last Post poplagelu  
                                Started by fx.practic, 10-15-2013, 12:53 AM
                                5 responses
                                5,408 views
                                0 likes
                                Last Post Bidder
                                by Bidder
                                 
                                Working...
                                X