From 209370f323b571789df6d5aee10f543bad254679 Mon Sep 17 00:00:00 2001 From: Suraj Jadhav Date: Tue, 27 Feb 2018 15:40:03 +0530 Subject: [PATCH] =?UTF-8?q?This=20PR=20is=20a=20fix=20to=20issue=20#219.?= =?UTF-8?q?=20Sometimes=20when=20there=20are=20insufficient=20funds,=20bot?= =?UTF-8?q?=20gets=20killed=20by=20by=20throwing=20an=20=E2=80=98Operation?= =?UTF-8?q?alException=E2=80=99=20and=20has=20to=20be=20restarted.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit According to me, having insufficient funds cannot be a fatal error causing application to break. --- freqtrade/exchange/bittrex.py | 1 + 1 file changed, 1 insertion(+) diff --git a/freqtrade/exchange/bittrex.py b/freqtrade/exchange/bittrex.py index 5aa07e460..aca465efd 100644 --- a/freqtrade/exchange/bittrex.py +++ b/freqtrade/exchange/bittrex.py @@ -50,6 +50,7 @@ class Bittrex(Exchange): temp_error_messages = [ 'NO_API_RESPONSE', 'MIN_TRADE_REQUIREMENT_NOT_MET', + 'INSUFFICIENT_FUNDS' ] if response['message'] in temp_error_messages: raise ContentDecodingError(response['message'])