> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.tradetron.tech/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to add custom Python code to Strategy

Even though our condition builder is extremely powerful and we are quite certain that most strategies can be built using that, there are scenarios where algo traders would like to use their existing code / logic / data source to create strategies. For such cases, we have a advanced feature where we can incorporate the python code within our strategy builder. 

To read/write variables which are you using in your code, we have a custom functions called GetVar and SetVar. Once you have the custom code do its job, you can then use these variables set by you within the entry condition block. If satisfied, the trades will be executed. 

Do get in touch with us at support@tradetron.tech or fill out the [Form](http://questionnaire.tradetron.tech/) to discuss your custom algo needs and we will help you Create and Integrate it within the platform.. 