Tradomate Config
The configuration of your trading bot is done through the TradomateConfig
object.
This object is passed to the strategy_info
function, which is the first function that is called
when your strategy is executed. You can setup the different configurations here.
It is also passed to your strategy function as the first argument. This allows you to access the configuration from within your strategy function.
Configuration options
Option | Type | Description | Default Value |
---|---|---|---|
symbols | List[str] | List of symbols to trade. This cannot be changed or set manually. | The symbol selected to trade |
initial_capital | float | Initial capital to trade with | 1000000 |
Custom configuration
You can add your own custom configuration options to the TradomateConfig
object.
This can be done by adding a new key-value pair to the config
object.