File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -409,8 +409,17 @@ def _account_add_description(account):
409409 account ['description' ] = "Crypto"
410410 elif account ['unifiedAccountType' ] == 'SELF_DIRECTED_RRIF' :
411411 account ['description' ] = f"RRIF: self-directed"
412+ elif account ['unifiedAccountType' ] == 'SELF_DIRECTED_SPOUSAL_RRIF' :
413+ account ['description' ] = f"RRIF: self-directed spousal"
412414 elif account ['unifiedAccountType' ] == 'CREDIT_CARD' :
413415 account ['description' ] = "Credit card"
416+ elif account ['unifiedAccountType' ] == 'MANAGED_NON_REGISTERED' :
417+ if any (feature ['name' ] == 'PRIVATE_CREDIT' for feature in account ['accountFeatures' ]):
418+ account ['description' ] = "Non-registered: managed - private credit"
419+ if any (feature ['name' ] == 'PRIVATE_EQUITY' for feature in account ['accountFeatures' ]):
420+ account ['description' ] = "Non-registered: managed - private equity"
421+ elif account ['unifiedAccountType' ] == 'SELF_DIRECTED_LIRA' :
422+ account ['description' ] = f"LIRA: self-directed"
414423 # TODO: Add other types as needed
415424
416425 def get_account_balances (self , account_id ):
You can’t perform that action at this time.
0 commit comments