You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-19Lines changed: 24 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,25 +102,30 @@ class WSApiTest:
102
102
# This is an "unknown" account, for which description is generic; please open an issue on https://github.com/gboudreau/ws-api-python/issues and include the following:
103
103
print(f" Unknown account: {account}")
104
104
105
-
if account['currency'] =='CAD':
106
-
value = account['financials']['currentCombined']['netLiquidationValue']['amount']
107
-
print(f" Net worth: {value}{account['currency']}")
108
-
# Note: For USD accounts, value is the CAD value converted to USD
109
-
# For USD accounts, only the balance & positions are relevant
0 commit comments