Learn R Programming

LendingClub (version 2.0.0)

lc_AddFunds: Add funds to the investor's account

Description

Sets up a recurring or one-time funds transfer. The investor must have already setup the bank account from which the funds are transferred. Transfers can one-time or recurring.

Usage

lc_AddFunds(amount, freq = "LOAD_NOW", start = NULL, end = NULL,
  quiet = T, LC_CRED = NULL)

Arguments

amount

Numeric. Amount to be transferred

freq

String. Frequency of transfers. Optional. The default value is LOAD_NOW so if a value is not supplied the transfer will be processed immediately. If a value is supplied, it must me one of:

  • LOAD_NOW (default)

  • LOAD_ONCE

  • LOAD_WEEKLY

  • LOAD_BIWEEKLY

  • LOAD_ON_DAY_1_AND_15

  • LOAD_MONTHLY

start

String. Defaults to NULL and is not required for immediate transfers. For future transfers, the date must be a string formatted as YYYY/MM/DD.

end

String. Defaults to NULL and is not required for immediate transfers. For future transfers, the date must be a string formatted as YYYY/MM/DD.

quiet

Should the response be printed to the console

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".