Fix returning the balance
This commit is contained in:
parent
2b6f00a889
commit
8d9fe15346
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue