Learn R Programming

charlesschwabapi (version 1.0.5)

get_accounts: Get Accounts Information

Description

Given the tokens object from the `get_authentication_tokens` function, return the account(s) information associated with the authenticated user. By default, this includes positions, fundamentals, and general account information. However, one can use the `fields` argument to get more specific as to the information returned.

Usage

get_accounts(tokens, fields = NULL)

Value

Returns a data frame containing the account(s) information.

Arguments

tokens

token object from `get_authentication_tokens` function (list).

fields

specific fields to be returned, an example being "positions" (string).

Author

Nick Bultman, njbultman74@gmail.com, June 2024