get_account: Get Account Information for Specific Account

View source: R/get_account.R

get_accountR Documentation

Get Account Information for Specific Account

Description

Given the tokens object from the 'get_authentication_tokens' function and the encrypted account ID, return the account information (positions, fundamentals, and general account information). The encrypted account ID can be found using the 'get_account_numbers' function.

Usage

get_account(tokens, account_number, fields = NULL)

Arguments

tokens

token object from 'get_authentication_tokens' function (list).

account_number

encrypted ID of the account (string).

fields

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

Value

Returns a data frame containing the account information. This includes position information a day trader flag, the account number, and more.

Author(s)

Nick Bultman, njbultman74@gmail.com, July 2024


charlesschwabapi documentation built on April 4, 2025, 2:19 a.m.