def execute(self, portfolio_name=None):
assert self.order_id == <NUM_LIT:0>, '<STR_LIT>'<EOL>assert len(self.loans) > <NUM_LIT:0>, '<STR_LIT>'<EOL>self.__stage_order()<EOL>token = self.__get_strut_token()<EOL>self.order_id = self.__place_order(token)<EOL>self.__log('<STR_LIT>'.format(self.order_id))<EOL>if portfolio_name:<EOL><INDENT>return self.assign_to_portfolio(portfolio_name)<EOL><DEDENT>return self.order_id<EOL>
Place the order with LendingClub

Parameters
----------
portfolio_name : string
    The name of the portfolio to add the invested loan notes to.
    This can be a new or existing portfolio name.

Raises
------
LendingClubError

Returns
-------
int
    The completed order ID