Remove leftover comments and debug statements
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user