Skip to content

Managing Instance Parameters

For Traders

A cBot instance always has the following parameters.

  • The trading account whose funds the instance will use for trading
  • The symbol to which the instance is attached
  • The timeframe to which an instance is attached

Depending on the algorithm, instances may also have advanced parameters. These parameters are defined entirely by the algorithm author.

You have several options for managing instance parameters.

  • In the window that opens when creating a new instance
  • In the context menu that opens after clicking on the 'cog' icon next to the instance timeframe selector
  • In the 'Parameters' section of the 'Instance Information' tab located in the instance page

Note

It is only possible to modify the parameters of an inactive instance. Before changing the parameters of an existing instance, make sure it is stopped.

Note

Be cautious when modifying advanced parameters as these can significantly change how a cBot behaves. If you are unsure what the optimal settings are, contact the algo author for assistance. The author's contact details can be found in their profile which can be accessed by clicking on the author's nickname in the 'Author' field.

Working With .cbotset Files

You can also save and upload advanced parameters as .cbotset files directly from the 'Parameters' section of the 'Instance Information' tab in the instance page. Typically, these files can be provided by the algorithm author upon request. To learn more about working with .cbotset files, click here.

After defining parameters start the instance again to apply your chosen settings.

For Algo Authors

As an algo author, you can customise what parameter values are considered the default for all new instances. When a user attempts to add a new instance of your algorithm, your chosen default settings will be presented to them first. However, users will still be able to override them freely using all of the methods defined above.

Do the following to configure the default parameter values:

  1. Right-click on any of your cBots in the algo list to the left
  2. Select 'Public Settings'
  3. In the newly opened window, navigate to the 'Parameters' section
  4. Define the default parameter values either by hand or via a .cbotset file

The 'Public Settings' window can also be accessed by going to the algo page and clicking on the 'Public Settings' button just above the algo name.