docs: def __get_holding_accounts_query(self):
          """ Returns all holding accounts, except Trading accounts. """
          query = (
              self.book.session.query(Account)
              .filter(Account.commodity == self.security)
              .filter(Account.type != AccountType.trading.value)
          )
          # generic.print_sql(query)
          return query