def on_update_assets(self, *args): progress_manager.add_task(datasource_controller.update_all, description = _('updating assets...'))
def on_update_portfolio_positions(self, *args): progress_manager.add_task(self.portfolio.update_assets, None, _('updating assets...'), self.update)
def on_get_historical_data(self, *args): progress_manager.add_task(datasource_controller.update_historical_prices, description = _('downloading quotations...'))
def on_update_wlpositions(self, *args): progress_manager.add_task(datasource_controller.update_positions, self.watchlist, _('updating assets...'), self.update)