mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-28 18:00:23 +00:00
@@ -975,7 +975,7 @@ class AwesomeStrategy(IStrategy):
|
|||||||
pair == "BTC/USDT"
|
pair == "BTC/USDT"
|
||||||
and entry_tag == "long_sma200"
|
and entry_tag == "long_sma200"
|
||||||
and side == "long"
|
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
|
# just cancel the order if it has been filled more than half of the amount
|
||||||
if order.filled > order.remaining:
|
if order.filled > order.remaining:
|
||||||
|
|||||||
Reference in New Issue
Block a user