updated backtest

This commit is contained in:
Kavinkumar
2022-03-02 13:24:58 +05:30
parent a031216ecc
commit 3dab31df29
2 changed files with 15 additions and 11 deletions

View File

@@ -1414,7 +1414,7 @@ class FreqtradeBot(LoggingMixin):
if not trade.is_open:
self.handle_protections(trade.pair)
sub_trade = order.get('filled') != trade.amount
sub_trade = order_obj.safe_filled != trade.amount
if order.get('side', None) == 'sell':
if send_msg and not stoploss_order and not trade.open_order_id:
self._notify_exit(trade, '', True, sub_trade=sub_trade, order=order_obj)