Description Usage Arguments Value Examples
Can pull trades as well as transfers, dividend reinvestment, interest, etc. Any activity associated with the account.
1 2 3 4 5 6 7  | td_transactSearch(
  accountNumber,
  startDate = Sys.Date() - 30,
  endDate = Sys.Date(),
  transType = "All",
  accessToken = NULL
)
 | 
accountNumber | 
 The TD brokerage account number associated with the Access Token  | 
startDate | 
 Transactions after a certain date. Will not pull back transactions older than 1 year. format yyyy-mm-dd  | 
endDate | 
 Filter transactions that occurred before a certain date. format yyyy-mm-dd  | 
transType | 
 Filter for a specific Transaction type. No entry will return all types. For example: TRADE, CASH_IN_OR_CASH_OUT, CHECKING, DIVIDEND, INTEREST, OTHER  | 
accessToken | 
 A valid Access Token must be set using
  | 
a jsonlite data frame of transactions
1 2 3 4 5 6 7 8 9  | ## Not run: 
# Access Token must be set using td_auth_accessToken
# Transactions for the last 5 days
td_transactSearch(accountNumber = 987654321, 
                startDate = Sys.Date()-days(5))
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.