mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-29 13:00:42 +08:00
Improved handling of insufficient funds on bittrex
This commit is contained in:
1 parent
ad95369028
commit
a58e3522a9
1 file changed
+4
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user