dexbot.strategies.config_parts.relative_config module

class dexbot.strategies.config_parts.relative_config.RelativeConfig

Bases: dexbot.strategies.config_parts.base_config.BaseConfig

classmethod configure(return_base_config=True)

Return a list of ConfigElement objects defining the configuration values for this class.

User interfaces should then generate widgets based on these values, gather data and save back to the config dictionary for the worker.

NOTE: When overriding you almost certainly will want to call the ancestor and then add your config values to the list.

Parameters:return_base_config – bool:
Returns:Returns a list of config elements
classmethod configure_details(include_default_tabs=True)

Return a list of ConfigElement objects defining the configuration values for this class.

User interfaces should then generate widgets based on these values, gather data and save back to the config dictionary for the worker.

NOTE: When overriding you almost certainly will want to call the ancestor and then add your config values to the list.

Parameters:include_default_tabs – bool:
Returns:Returns a list of Detail elements