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.
get_account(tokens, encrypted_account_id, fields = NULL)Returns a data frame containing the account information. This includes position information, a day trader flag, the account number, and more.
token object from `get_authentication_tokens` function (list).
encrypted ID of the account from `get_account_numbers` function (string).
specific fields to be returned, one example being "positions" (string).
Nick Bultman, njbultman74@gmail.com, July 2024