Manage instance parameters in cTrader
Each cBot instance, whether local or cloud, includes its own parameters that define how it operates. These parameters control aspects, such as the trading account, symbol and timeframe, and they may also include additional settings defined by the algorithm author.
Parameter types
Every cBot instance contains the following essential parameters:
- The trading account whose funds the instance uses for trading
- The symbol to which the instance is attached
- The timeframe on which the instance operates
Depending on the algorithm, there may also be advanced parameters, which are defined entirely by the algo author. These settings can significantly influence how a cBot behaves, so it is recommended to consult the author if unsure about optimal configurations. The author's contact details are accessible by tapping their nickname in the Author field.
Note
It is best to modify instance parameters when the instance is inactive or stopped. After editing, restart the instance.
Management methods
You can view or modify instance parameters when creating a new instance or editing an existing one. The options and interface differ slightly depending on the cTrader platform.
You can access and manage instance parameters through any of the methods below:
-
When adding a new instance, in the window or screen that appears.
-
After clicking the cog icon next to the instance timeframe selector, in the resulting context menu.
-
After tapping or selecting an existing instance.
In the Parameters section for Mobile.
in the Parameters section of the Instance information tab in the main grid for Web
In the Parameters section below the chart in the main grid for Windows
In the Parameters section below the chart in the main grid for Mac
-
After right-clicking an instance and selecting Load parameters in Windows or Mac, if you have a
.cbotsetfile.
Once you finish defining your preferred parameters, start the cBot so that it begins running with your chosen settings.
Default parameters
As an algo author, you can specify what parameter values are considered default for all new instances of your algorithm. When users add a new instance, these default values are prefilled, though users can still override them freely.
Configuring default parameters requires you to navigate to the Parameters section in Public settings for an algo. There, you can define the default values manually or load a .cbotset file (except in cTrader Mobile).
Tap the algorithm to enter its menu screen, press the More icon in the bottom-right corner, hit Public settings, then navigate to Parameters.
Right-click the algorithm in the list, select Public settings in the context menu, then navigate to Parameters. Alternatively, select an algo and then click the Public settings button at the top in the main grid, then navigate to Parameters.
Right-click the algorithm in the list, select Public settings from the context menu, then navigate to Parameters.
Right-click the algorithm in the list, select Public settings from the context menu, then navigate to Parameters.
Apply the changes, and the specified settings and values will become the default.
