dexbot.views.strategy_form module

class dexbot.views.strategy_form.AutoStrategyFormGenerator(view, configure)

Bases: object

Automatic strategy form UI generator.

add_checkbox(key, text, description='')
add_combo_box(key, text, description='')
add_double_spin_box(key, text, minimum, maximum, precision, suffix='', description='')
add_element(option)
add_label(key, text, description='')
add_line_edit(key, text, description='')
add_spin_box(key, text, minimum, maximum, suffix='', description='')
class dexbot.views.strategy_form.StrategyFormWidget(controller, strategy_module, worker_config=None)

Bases: sphinx.ext.autodoc.importer._MockObject

values

Returns all the form values based on the selected strategy.