Create an order to purchase a note. If the account has sufficient
funding, the note will be purchased once the loan has passed
through the funding stage.
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 lc_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".
# NOT RUN {SubmitOrder(12345678, 25)
SubmitOrder(12345678, 25, "myPortfolio")
#For multiple loans in a single orderSubmitOrder(loanId=c(123, 456, 789), amount= c(rep(25,3)))
# }