update/fix some comments and docs

This commit is contained in:
Matthias
2022-05-07 17:47:37 +02:00
parent eca8d16c61
commit 277e07589e
3 changed files with 3 additions and 3 deletions

View File

@@ -765,7 +765,7 @@ class AwesomeStrategy(IStrategy):
"""
# Limit orders to use and follow SMA200 as price target for the first 10 minutes since entry trigger for BTC/USDT pair.
if pair == 'BTC/USDT' and entry_tag == 'long_sma200' and side == 'long' and (current_time - timedelta(minutes=10) > trade.open_date_utc:
# just cancel the order if it has been filled more than half of the ammount
# just cancel the order if it has been filled more than half of the amount
if order.filled > order.remaining:
return None
else: