You can use two types of compilers when compiling/building in cTrader Automate:
- Embedded Compiler
- .NET SDK Compiler
By default it uses the embedded, but we recommend you to change it to .NET SDK compiler if you have one installed on your system.
To change cTrader Automate compiler go to cTrader settings -> Automate:
The embedded compiler comes with cTrader desktop itself, and in comparison to .NET SDK compiler it has very limited features.
Use embedded complier only on small projects that doesn't rely on third party .NET packages and technologies like WinForms and WPF.
.NET SDK Compiler¶
If you are automate projects are large and you are using other .NET external packages we strongly recommend you to use the SDK compiler.
It allows you to have access to all features of .NET compiler like build parameters.
To use .NET SDK Compiler you must install it on your system, if you already installed it then you can select it on automate settings.
cTrader Automate has several parameters that you can use on .NET CLI when building your cBots/Indicators:
Important: this property does not affect the
|IncludeSource||False||Includes source directory to target |
|IncludeSymbols||False (Release) |
|Includes debug symbols to target |