get_access <- function(fullPath)
{
consumerKey <- readRDS(paste0(fullPath, 'consumerKey.rds'))
refreshToken <- readRDS(paste0(fullPath, 'refreshToken.rds'))
accessToken <- rameritrade::td_auth_accessToken(consumerKey = consumerKey,
refreshToken = refreshToken)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.