Full cancel only for non DCA trades.
This commit is contained in:
		| @@ -1194,7 +1194,7 @@ class FreqtradeBot(LoggingMixin): | |||||||
|             full_cancel = False |             full_cancel = False | ||||||
|             cancel_reason = constants.CANCEL_REASON['REPLACE'] |             cancel_reason = constants.CANCEL_REASON['REPLACE'] | ||||||
|             if not adjusted_entry_price: |             if not adjusted_entry_price: | ||||||
|                 full_cancel = True |                 full_cancel = True if trade.nr_of_successful_entries == 0 else False | ||||||
|                 cancel_reason = constants.CANCEL_REASON['USER_CANCEL'] |                 cancel_reason = constants.CANCEL_REASON['USER_CANCEL'] | ||||||
|             if order_obj.price != adjusted_entry_price: |             if order_obj.price != adjusted_entry_price: | ||||||
|                 # cancel existing order if new price is supplied or None |                 # cancel existing order if new price is supplied or None | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user