View source: R/req_family_codes.R
req_family_codes | R Documentation |
Retrieve the family codes for all accounts accessible by the current user.
req_family_codes(channel = NULL)
channel |
One of the following:
|
A named character vector containing all of the family codes for the accounts that are visible to the user. The value of each element is a family code, and the name of each element is the account ID to which that code applies.
Every account at Interactive Brokers is associated with one family code in order to cluster accounts into groups according to management. By default, the family code for an account equals that account's ID suffixed with the letter "A"; for example, a an individual account having an ID = "U1234567" would have a Family Code of "U1234567A".
If, however, Account U1234567 were managed by a Financial Advisor running an account under ID = "U7654321", then the Family Code of account U1234567 would be "U7654321A".
Other quick fetch:
req_current_time()
,
req_managed_accts()
# Fetch family codes
family_codes <- req_family_codes()
# Print family codes
family_codes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.