• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Secure Team Code Protection

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

    Secure Team Code Protection

    https://ninjatrader.com/support/help...l_security.htm

    Ive purchased this software from agile.net and there is very little resources online to watch or read on how to use this for ninja trader. Is there anyone that can help me figure out how to use this software and upload my ninjascripts so i can give out the machine id type thing?

    Thanks
    Andrew

    #2
    Hello Andrew,

    Once Agile.NET is installed, open this once and enter your license key.

    After Agile.NET has been opened once at the license key inserted, NinjaTrader will automatically use this when the 'Protect compiled assembly' is checked in the Tools > Export > NinjaScript Addon window.

    https://ninjatrader.com/support/help...l_security.htm

    Where are you trying to upload scripts?

    Are you trying to upload to the User App Share of the NinjaTrader Ecosystem?
    https://ninjatrader.com/support/foru...app-submission


    The MachineID is used by vendors to license scripts for individual clients in the Vender License Management console window.
    Are you currently a vendor with NinjaTrader? (Do you have a vendor key?)
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Yes exactly that must be what i need is the vendor feature you just mentioned. I have developers that have built me scripts and I would like to share them privately and enable them using their machine IDs

      Comment


        #4
        Hello andrewtrades,

        Please contact info [at] ninjatraderecosystem [dot] com if you would like to become a vendor.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by andrewtrades View Post
          Yes exactly that must be what i need is the vendor feature you just mentioned. I have developers that have built me scripts and I would like to share them privately and enable them using their machine IDs
          Andrew, can you share the code needed to identify the machine ID?
          I am no vendor but want to share indicators with my children. For safety reasons (unable them to share my indicators with friends) I want to link the authorisation to the machine ID from my children.

          Comment


            #6
            You have to become a vendor to use that feature.

            Comment


              #7
              Originally posted by andrewtrades View Post
              You have to become a vendor to use that feature.

              Pity. I have no intention at all to sell what I intend to present to my own children.

              Comment


                #8
                I would double check with the ninjatrader team cause im not sure if you're actually forced to sell anything. You can probably still sign up for what your intention is.

                Comment


                  #9
                  Hello marcus2300,

                  If you are not intending to become a vendor to sell your scripts and you are wanting to share these without vendor licensing, you can use logic to match specific strings in the code.

                  You can use the Windows generated machine ID (or a list of machine IDs) to limit your script to running on specific computers.
                  To do this use Cbi.License.MachineId.

                  For example:
                  Code:
                  if ( Cbi.License.MachineId != "AC2ACEDE1D8E57B1454B941165C8C347")
                  {
                  return;
                  }
                  (This MachineID was a personal machine id on a computer that I am no longer using. For personal security, do not post your machine id publicly.)

                  Below is are a few links to threads where this is discussed.
                  http://www.ninjatrader.com/support/f....php?t=24424#3
                  http://www.ninjatrader.com/support/f....php?t=48093#5

                  After this, you can then export your code as an assembly (.dll) to prevent this code from being read or modified, and optionally you can use Agile.NET to prevent the code from being un-assembled (deobfuscated).

                  To export your script do the following:
                  1. Click Tools -> Export -> NinjaScript
                  2. Click the 'add' link -> check the box(es) for the script(s) you want to include -> click OK
                  3. Check the option labelled Export as compiled assembly
                  4. If you have Agile.NET installed and would like to use this, check the box labelled Protect compiled assembly
                  5. Click Export -> enter a unique name for the file in the Dialog window
                  6. Choose a save location -> click Save
                  7. Click OK to clear the export location message
                  By default your exported file will be in the following location:
                  • (My) Documents/NinjaTrader 8/bin/Custom/ExportNinjaScript/<export_file_name.zip>
                  Below is a link to the help guide on Exporting NinjaScripts.
                  http://ninjatrader.com/support/helpG...-us/export.htm

                  Below is a link to the help guide on Agile.NET protection.
                  http://ninjatrader.com/support/helpG...l_security.htm

                  You can purchase Agile.NET here.
                  http://secureteam.net/Agile-for-NT-Pricing.aspx
                  Chelsea B.NinjaTrader Customer Service

                  Comment


                    #10
                    Thanks Chelsea. Will try it out. I do have already a subscription for Agile dot net NT8

                    Comment


                      #11
                      Originally posted by NinjaTrader_ChelseaB View Post
                      Hello marcus2300,

                      If you are not intending to become a vendor to sell your scripts and you are wanting to share these without vendor licensing, you can use logic to match specific strings in the code.

                      You can use the Windows generated machine ID (or a list of machine IDs) to limit your script to running on specific computers.
                      To do this use Cbi.License.MachineId.

                      For example:
                      Code:
                      if ( Cbi.License.MachineId != "AC2ACEDE1D8E57B1454B941165C8C347")
                      {
                      return;
                      }
                      (This MachineID was a personal machine id on a computer that I am no longer using. For personal security, do not post your machine id publicly.)

                      Below is are a few links to threads where this is discussed.
                      http://www.ninjatrader.com/support/f....php?t=24424#3
                      http://www.ninjatrader.com/support/f....php?t=48093#5

                      After this, you can then export your code as an assembly (.dll) to prevent this code from being read or modified, and optionally you can use Agile.NET to prevent the code from being un-assembled (deobfuscated).

                      To export your script do the following:
                      1. Click Tools -> Export -> NinjaScript
                      2. Click the 'add' link -> check the box(es) for the script(s) you want to include -> click OK
                      3. Check the option labelled Export as compiled assembly
                      4. If you have Agile.NET installed and would like to use this, check the box labelled Protect compiled assembly
                      5. Click Export -> enter a unique name for the file in the Dialog window
                      6. Choose a save location -> click Save
                      7. Click OK to clear the export location message
                      By default your exported file will be in the following location:
                      • (My) Documents/NinjaTrader 8/bin/Custom/ExportNinjaScript/<export_file_name.zip>
                      Below is a link to the help guide on Exporting NinjaScripts.
                      http://ninjatrader.com/support/helpG...-us/export.htm

                      Below is a link to the help guide on Agile.NET protection.
                      http://ninjatrader.com/support/helpG...l_security.htm

                      You can purchase Agile.NET here.
                      http://secureteam.net/Agile-for-NT-Pricing.aspx
                      Chelsea,

                      I tried but did probably something wrong. Compile worked, no errors but the indicators never appear, even when they should appear.

                      Can you watch in the added word document and add the code on the exact location? I cut pieces from the 3 indicators that should be fixed.

                      Cbi.License.Id is using the Ninjatrader license key?
                      Last edited by marcus2300; 06-23-2020, 02:54 PM.

                      Comment


                        #12
                        Hello marcus2300,

                        I cannot modify any script at your request.

                        Unfortunately, in the support department at NinjaTrader it is against our policy to create, debug, or modify, code or logic for our clients. This is so that we can maintain a high level of service for all of our clients as well as our partners.

                        That said, I am happy to answer any questions you may have about NinjaScript if you decide to code this yourself.

                        This thread will remain open for any community members that would like to code this for you as a convenience to you.

                        You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like our business development follow up with you with a list of affiliate consultants who would be happy to create this script or any others at your request.


                        The check for the machine id could be at the top of OnBarUpdate() if you wanted.
                        Chelsea B.NinjaTrader Customer Service

                        Comment


                          #13
                          Originally posted by NinjaTrader_ChelseaB View Post
                          Hello marcus2300,

                          I cannot modify any script at your request.

                          Unfortunately, in the support department at NinjaTrader it is against our policy to create, debug, or modify, code or logic for our clients. This is so that we can maintain a high level of service for all of our clients as well as our partners.

                          That said, I am happy to answer any questions you may have about NinjaScript if you decide to code this yourself.

                          This thread will remain open for any community members that would like to code this for you as a convenience to you.

                          You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like our business development follow up with you with a list of affiliate consultants who would be happy to create this script or any others at your request.


                          The check for the machine id could be at the top of OnBarUpdate() if you wanted.
                          OK, I understand.

                          Comment


                            #14
                            Originally posted by NinjaTrader_ChelseaB View Post

                            You can purchase Agile.NET here.
                            http://secureteam.net/Agile-for-NT-Pricing.aspx
                            Hi Chelsea,

                            Can CliSecure for NT be used to secure NT8 compiled files?

                            Is there an alternative to Agile.Net (too expensive for non-vendors)?

                            Thanks.

                            Comment


                              #15
                              Hello aligator,

                              No, CliSecure is the name of previous produce made by secure team for Winforms and NinjaTrader 7. The Agile.NET is for NinjaTrader 8 and WPF.

                              I am not aware of alternatives, but you may try a google search for these.
                              Chelsea B.NinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by digibob, 07-08-2020, 03:45 AM
                              5 responses
                              34 views
                              0 likes
                              Last Post johnnymustard  
                              Started by kanavancbduk, Today, 01:21 AM
                              0 responses
                              7 views
                              0 likes
                              Last Post kanavancbduk  
                              Started by yalmandraku, Today, 01:21 AM
                              0 responses
                              5 views
                              0 likes
                              Last Post yalmandraku  
                              Started by kanavancbduk, Today, 01:20 AM
                              0 responses
                              4 views
                              0 likes
                              Last Post kanavancbduk  
                              Started by josenfit, Today, 01:03 AM
                              0 responses
                              3 views
                              0 likes
                              Last Post josenfit  
                              Working...
                              X