code: def __get_all_child_accounts_as_array(self, account: Account) -> List[Account]:
          
          result = []
          # ignore placeholders ? - what if a brokerage account has cash/stocks division?
          # if not account.placeholder:
          # continue
          result.append(account)
  
          for child in account.children:
              sub_accounts = self.__get_all_child_accounts_as_array(child)
              result += sub_accounts
  
          return result
docs: Returns the whole tree of child accounts in a list