Fix returning the balance

This commit is contained in:
Mark Veidemanis 2023-02-18 21:36:46 +00:00
parent 2b6f00a889
commit 8d9fe15346
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,7 @@ class ActiveManagement(object):
self.balance_usd = self.strategy.account.client.get_balance(
return_usd=True
)
return self.balance_usd
else:
return self.balance_usd
else:
@ -69,6 +70,7 @@ class ActiveManagement(object):
self.balance = self.strategy.account.client.get_balance(
return_usd=False
)
return self.balance
else:
return self.balance