Buy a note

Description

Create an order to purchase a note. If the account has sufficient funding, the note will be purchased once the loand has passed through the funding stage.

Usage

1
SubmitOrder(loanId, amount, portfolioId = NULL, LC_CRED = NULL)

Arguments

loanId

Unique ID for loans. These can be found using the ListedLoans() function.

amount

Amount to be purchased

portfolioId

Unique ID for the portfolio. It can be found using the PortfoliosOwned() function.

LC_CRED

Credential object having class LendingClub_credential. This object can be created using the MakeCredential() function. You can pass the object directly as an argument to the function or alternatively, it can be read from the global environment if it was stored as "LC_CRED".