Description Usage Arguments Examples
View source: R/lc_SubmitOrder.R
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.
1 2 | lc_SubmitOrder(loanId, amount = 25, portfolioId = NULL, LC_CRED = NULL,
quiet = T)
|
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 |
quiet |
Should the response be printed to the console |
1 2 3 4 5 6 7 8 | ## Not run:
SubmitOrder(12345678, 25)
SubmitOrder(12345678, 25, "myPortfolio")
#For multiple loans in a single order
SubmitOrder(loanId=c(123, 456, 789), amount= c(rep(25,3)))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.