get_accounts {charlesschwabapi}R Documentation

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)

Arguments

tokens

token object from 'get_authentication_tokens' function (list).

fields

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

Value

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

Author(s)

Nick Bultman, njbultman74@gmail.com, June 2024


[Package charlesschwabapi version 1.0.2 Index]