Пример #1
0
 def on_update_assets(self, *args):
     progress_manager.add_task(datasource_controller.update_all,
                         description = _('updating assets...'))
Пример #2
0
 def on_update_portfolio_positions(self, *args):
     progress_manager.add_task(self.portfolio.update_assets,
                               None,
                         _('updating assets...'),
                         self.update)
Пример #3
0
 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)