diff --git a/btcde.py b/btcde.py index 1a79bcb..ab24543 100644 --- a/btcde.py +++ b/btcde.py @@ -166,7 +166,7 @@ def APIConnect(self, method, params): # Handle API Errors if HandleAPIErrors(r): # get results - result = r.json() + result = r.json(parse_float=decimal.Decimal) else: result = {} except requests.exceptions.RequestException as e: