Skip to content

Commit

Permalink
fix account totals
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonDane committed Feb 6, 2024
1 parent 47202d9 commit aa7ea14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webullAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ def webull_init(WEBULL_EXTERNAL=None):
wb_obj.set_account_number(name, ac["accountNumber"])
print(maskString(ac["accountNumber"]))
wb_obj.set_logged_in_object(name, id, ac["accountNumber"])
wb_obj.set_account_type(name, id, ac["accountTypeName"])
wb_obj.set_account_totals(name, id, ac["netLiquidationValue"])
wb_obj.set_account_type(name, ac["accountNumber"], ac["accountTypeName"])
wb_obj.set_account_totals(name, ac["accountNumber"], ac["netLiquidationValue"])
except Exception as e:
print(traceback.format_exc())
print(f"Error: Unable to log in to Webull: {e}")
Expand Down

0 comments on commit aa7ea14

Please sign in to comment.