get_account {charlesschwabapi} | R 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
[Package charlesschwabapi version 1.0.2 Index]