code: def new_portfolio(self, portfolio_cookie=None):
          '''
          根据 self.user_cookie 创建一个 portfolio
          :return:
          如果存在 返回 新建的 QA_Portfolio
          如果已经存在 返回 这个portfolio
          '''
          _portfolio = QA_Portfolio(
              user_cookie=self.user_cookie,
              portfolio_cookie=portfolio_cookie
          )
          if _portfolio.portfolio_cookie not in self.portfolio_list.keys():
              self.portfolio_list[_portfolio.portfolio_cookie] = _portfolio
              return _portfolio
          else:
              print(
                  " prortfolio with user_cookie ",
                  self.user_cookie,
                  " already exist!!"
              )
              return self.portfolio_list[portfolio_cookief new_portfolio(self, portfolio_cookie=None):
          '''
          根据 self.user_cookie 创建一个 portfolio
          :return:
          如果存在 返回 新建的 QA_Portfolio
          如果已经存在 返回 这个portfolio
          '''
          _portfolio = QA_Portfolio(
              user_cookie=self.user_cookie,
              portfolio_cookie=portfolio_cookie
          )
          if _portfolio.portfolio_cookie not in self.portfolio_list.keys():
              self.portfolio_list[_portfolio.portfolio_cookie] = _portfolio
              return _portfolio
          else:
              print(
                  " prortfolio with user_cookie ",
                  self.user_cookie,
                  " already exist!!"
              )
              return self.portfolio_list[portfolio_cookie]
docs: 根据 self.user_cookie 创建一个 portfolio
          :return:
          如果存在 返回 新建的 QA_Portfolio
          如果已经存在 返回 这个portfolio