mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 20:23:57 +00:00
parent
b8f8d1d4b1
commit
9e53b0742c
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user