def load_loss_slots(self): """ Loads slots for loss settings in GUI. """ create_inner_tab(categoryTabs=self.categoryTabs, description="Configure your stop loss settings here.", tabName="Stop Loss", input_creator=self.create_loss_inputs, dictionary=self.lossDict, signalFunction=self.update_loss_settings)
def load_take_profit_slots(self): """ Loads slots for take profit settings in GUI. """ create_inner_tab( categoryTabs=self.categoryTabs, description="Configure your take profit settings here.", tabName="Take Profit", input_creator=self.create_take_profit_inputs, dictionary=self.takeProfitDict, signalFunction=self.update_take_profit_settings)
def load_take_profit_slots(config_obj): """ Loads slots for take profit settings in GUI. :param config_obj: Configuration QDialog object (from configuration.py) """ create_inner_tab(categoryTabs=config_obj.categoryTabs, description="Configure your take profit settings here.", tabName="Take Profit", input_creator=config_obj.create_take_profit_inputs, dictionary=config_obj.takeProfitDict, signalFunction=config_obj.update_take_profit_settings, parent=config_obj)
def load_loss_slots(config_obj): """ Loads slots for loss settings in GUI. :param config_obj: Configuration QDialog object (from configuration.py) """ create_inner_tab(categoryTabs=config_obj.categoryTabs, description="Configure your stop loss settings here.", tabName="Stop Loss", input_creator=config_obj.create_loss_inputs, dictionary=config_obj.lossDict, signalFunction=config_obj.update_loss_settings, parent=config_obj)