docs: update documentation code to align with comment

closes #10838
This commit is contained in:
Matthias 2024-10-26 18:38:53 +02:00
parent b8f8d1d4b1
commit 9e53b0742c

View File

@ -975,7 +975,7 @@ class AwesomeStrategy(IStrategy):
pair == "BTC/USDT"
and entry_tag == "long_sma200"
and side == "long"
and (current_time - timedelta(minutes=10)) > trade.open_date_utc
and (current_time - timedelta(minutes=10)) <= trade.open_date_utc
):
# just cancel the order if it has been filled more than half of the amount
if order.filled > order.remaining: