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(
|
self.balance_usd = self.strategy.account.client.get_balance(
|
||||||
return_usd=True
|
return_usd=True
|
||||||
)
|
)
|
||||||
|
return self.balance_usd
|
||||||
else:
|
else:
|
||||||
return self.balance_usd
|
return self.balance_usd
|
||||||
else:
|
else:
|
||||||
|
@ -69,6 +70,7 @@ class ActiveManagement(object):
|
||||||
self.balance = self.strategy.account.client.get_balance(
|
self.balance = self.strategy.account.client.get_balance(
|
||||||
return_usd=False
|
return_usd=False
|
||||||
)
|
)
|
||||||
|
return self.balance
|
||||||
else:
|
else:
|
||||||
return self.balance
|
return self.balance
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue