Skip to navigation

Family Codes

View as MarkdownOpen in Claude

Introduction

It is possible to determine from the API whether an account exists under an account family, and find the family code using the function reqFamilyCodes.

For instance, if individual account U112233 is under a financial advisor with account number F445566, if the function reqFamilyCodes is invoked for the user of account U112233, the family code “F445566A” will be returned, indicating that it belongs within that account family.


Request Family Codes

EClient.reqFamilyCodes()

Requests family codes for an account, for instance if it is a FA, IBroker, or associated account.

self.reqFamilyCodes()

Receive Family Codes

EWrapper.familyCodes(familyCodes)

Returns array of family codes.

familyCodes
FamilyCodes[]

Unique family codes array of accountIds.


def familyCodes(self, familyCodes: ListOfFamilyCode):
print("Family Codes:", familyCode)