mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
Merge branch 'develop' into Error-Skipping
This commit is contained in:
commit
fce4536ef2
|
@ -494,7 +494,7 @@ class FreqtradeBot(LoggingMixin):
|
|||
send_msg=prev_trade_state != trade.is_open)
|
||||
else:
|
||||
trade.exit_reason = prev_exit_reason
|
||||
total = self.wallets.get_total(trade.base_currency)
|
||||
total = self.wallets.get_total(trade.base_currency) if trade.base_currency else 0
|
||||
if total < trade.amount:
|
||||
if total > trade.amount * 0.98:
|
||||
logger.warning(
|
||||
|
|
Loading…
Reference in New Issue
Block a user