From a58e3522a9bd4d9693e7d18bd65c23c3720501aa Mon Sep 17 00:00:00 2001 From: fredfortier Date: Mon, 4 Sep 2017 11:30:32 -0400 Subject: [PATCH] Improved handling of insufficient funds on bittrex --- catalyst/exchange/bittrex/bittrex.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/catalyst/exchange/bittrex/bittrex.py b/catalyst/exchange/bittrex/bittrex.py index cdd2d18a..f56073c5 100644 --- a/catalyst/exchange/bittrex/bittrex.py +++ b/catalyst/exchange/bittrex/bittrex.py @@ -122,6 +122,10 @@ class Bittrex(Exchange): if order_status == 'INSUFFICIENT_FUNDS': log.warn('not enough funds to create order') return None + elif order_status == 'DUST_TRADE_DISALLOWED_MIN_VALUE_50K_SAT': + log.warn('Your order is too small, order at least 50K' + ' Satoshi') + return None else: raise CreateOrderError( exchange=self.name,