diff --git a/docs/strategy-callbacks.md b/docs/strategy-callbacks.md index ce1b9907c..6ba225007 100644 --- a/docs/strategy-callbacks.md +++ b/docs/strategy-callbacks.md @@ -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: