Retrieves the Hashed account value for a specific account

schwab_act_hash(account_number = "", accessTokenList = NULL)

Arguments

account_number

A Standard Schwab Account number

accessTokenList

A valid Access Token must be set using schwab_auth3_accessToken. The most recent Access Token will be used by default unless one is manually passed into the function.

Value

A hashed account number

Examples

if (FALSE) { # \dontrun{

# Get stored refresh token
refreshToken = readRDS('/secure/location/')

# Generate a new access token
accessTokenList = schwab_auth3_accessToken(appKey, appSecret, refreshToken)

# Passing the accessTokenList is optional. The default will return balances
act_hash = schwab_act_hash(account_number = '123456789')


} # }