code: def load_cash_balances(self):
          
          from gnucash_portfolio.accounts import AccountsAggregate, AccountAggregate
  
          cfg = self.__get_config()
          cash_root_name = cfg.get(ConfigKeys.cash_root)
          # Load cash from all accounts under the root.
          gc_db = self.config.get(ConfigKeys.gnucash_book_path)
          with open_book(gc_db, open_if_lock=True) as book:
              svc = AccountsAggregate(book)
              root_account = svc.get_by_fullname(cash_root_name)
              acct_svc = AccountAggregate(book, root_account)
              cash_balances = acct_svc.load_cash_balances_with_children(cash_root_name)
  
          # Treat each sum per currency as a Stock, for display in full mode.
          self.__store_cash_balances_per_currency(cash_balances)
docs: Loads cash balances from GnuCash book and recalculates into the default currency