Minor: Fix exception message

This commit is contained in:
hroff-1902 2020-06-14 00:35:58 +03:00
parent d52198d15e
commit be03c22dba
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ class Binance(Exchange):
return order
except ccxt.InsufficientFunds as e:
raise DependencyException(
f'Insufficient funds to create {ordertype} sell order on market {pair}.'
f'Insufficient funds to create {ordertype} sell order on market {pair}. '
f'Tried to sell amount {amount} at rate {rate}. '
f'Message: {e}') from e
except ccxt.InvalidOrder as e:

View File

@ -85,7 +85,7 @@ class Kraken(Exchange):
return order
except ccxt.InsufficientFunds as e:
raise DependencyException(
f'Insufficient funds to create {ordertype} sell order on market {pair}.'
f'Insufficient funds to create {ordertype} sell order on market {pair}. '
f'Tried to create stoploss with amount {amount} at stoploss {stop_price}. '
f'Message: {e}') from e
except ccxt.InvalidOrder as e: