From 5bc908870f124f27fe16f890b895da8af970c2f9 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 29 Apr 2021 09:07:47 +0200 Subject: [PATCH] Fix documentation comment missalignment --- docs/strategy-advanced.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/strategy-advanced.md b/docs/strategy-advanced.md index 58e658509..49b310303 100644 --- a/docs/strategy-advanced.md +++ b/docs/strategy-advanced.md @@ -46,7 +46,7 @@ class AwesomeStrategy(IStrategy): It is possible to define custom sell signals. This is very useful when we need to customize sell conditions for each individual trade, or if you need the trade profit to take the sell decision. -An example of how we can use different indicators depending on the current profit and also sell trades that were open longer than 1 day: +An example of how we can use different indicators depending on the current profit and also sell trades that were open longer than one day: ``` python from freqtrade.strategy import IStrategy, timeframe_to_prev_date @@ -68,7 +68,7 @@ class AwesomeStrategy(IStrategy): if trade_row['emalong'] > trade_row['emashort']: return 'ema_long_below_80' - # Sell any positions at a loss if they are held for more than two days. + # Sell any positions at a loss if they are held for more than one day. if current_profit < 0.0 and (current_time - trade.open_date_utc).days >= 1: return 'unclog' ```