Trading Software
    Menu Close
    Back to all

    How to Protect Your cBot Source Code

    Why Protect Your cBot?

    If you have just spent many days or even months creating a product that you wish to sell or even share then you may not want the average coder to steal your hard work by using reverse engineering techniques. It is well known in the software industry that almost everything is crackable given enough time and resources, but the effort vs the rewards is not always in their favour. All you can do is prevent the casual developers from easily being able to obtain your code.


    cTrader Code Thief


    This is the same principle of an opportunist thief, if they see a bike with no padlock, they may well steal it, but if there is a big fat padlock on the bike, they will look for an easier target, but an experienced thief with a huge chain-cutter will have no trouble.


    How Do You Protect Your Code?

    To protect your code and all your hard work from being stolen you need to use a 3rd party software tool to encrypt all the text so that not only will it look completely non-understandable but it also will not compile making it impossible for the code thief to steal it. the process to encrypt and jumble the code is called Obfuscation


    What is Obfuscation?

    In software development, obfuscation is the deliberate act of creating source or machine code that is difficult for humans to understand. Like obfuscation in natural language, it may use needlessly roundabout expressions to compose statements.

    cTrader Code Protection


    There are many software solutions to encrypt your code to make it harder to reverse engineer and steal your code and the price varies from £100+, here are a few good ones.


    Piracy Prevention

    Even after you have protected your code, you will also need to prevent piracy to stop your product from being passed around the internet, for this, you need a licensing system.


    How to Protect Your cTrader cBots & Indicators

    You can build your cBot or indicator without source code from the Automate screen, if you do this you can then send the file to anyone and they will not be able to see the code, to do this just right-click your mouse on your name of the cBot and select "Build".


    This is the simplest solution provided by Spotware to safeguard your project code, if you want to have even more security to protect your work then you need to do what is known as Obfuscation.


    Watch a Video Explanation

    The video has been uploaded to 1080p High Quality, so do not forget to set your YouTube video quality to 1080p HD. 


    Our cTrader Coding Service

    We offer a custom development service to build your automated trading systems, indicators and bespoke trading software.