Remove leftover comments and debug statements

This commit is contained in:
2023-01-11 19:59:27 +00:00
parent 23faeb6f71
commit 9a69120695
3 changed files with 7 additions and 29 deletions

View File

@@ -39,12 +39,9 @@ class OANDAExchange(BaseExchange):
def get_balance(self, return_usd=False):
r = accounts.AccountSummary(self.account_id)
response = self.call(r)
print("RESPONSE", response)
balance = float(response["balance"])
currency = response["currency"]
balance_usd = common.to_currency("sell", self.account, balance, currency, "USD")
print("BALANCE", balance)
print("BALANCE USD", balance_usd)
common.get_balance_hook(
self.account.user.id,