From 7fc1d38ffb0072ceb536f33fde6814ec82746b23 Mon Sep 17 00:00:00 2001 From: CoolCu Date: Tue, 16 Apr 2024 15:55:36 +0800 Subject: [PATCH] chore: remove repetitive words Signed-off-by: CoolCu --- docs/configuration.md | 2 +- docs/developer.md | 2 +- docs/edge.md | 2 +- freqtrade/plugins/pairlist/PriceFilter.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 684c6743c..6a85f445e 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -547,7 +547,7 @@ is automatically cancelled by the exchange. **PO (Post only):** Post only order. The order is either placed as a maker order, or it is canceled. -This means the order must be placed on orderbook for at at least time in an unfilled state. +This means the order must be placed on orderbook for at least time in an unfilled state. #### time_in_force config diff --git a/docs/developer.md b/docs/developer.md index d65e807ff..f1218471f 100644 --- a/docs/developer.md +++ b/docs/developer.md @@ -261,7 +261,7 @@ For that reason, they must implement the following methods: The `until` portion should be calculated using the provided `calculate_lock_end()` method. -All Protections should use `"stop_duration"` / `"stop_duration_candles"` to define how long a a pair (or all pairs) should be locked. +All Protections should use `"stop_duration"` / `"stop_duration_candles"` to define how long a pair (or all pairs) should be locked. The content of this is made available as `self._stop_duration` to the each Protection. If your protection requires a look-back period, please use `"lookback_period"` / `"lockback_period_candles"` to keep all protections aligned. diff --git a/docs/edge.md b/docs/edge.md index bb702f202..fe33f141b 100644 --- a/docs/edge.md +++ b/docs/edge.md @@ -137,7 +137,7 @@ $$ R = \frac{\text{average_profit}}{\text{average_loss}} = \frac{\mu_{win}}{\mu_ ### Expectancy -By combining the Win Rate $W$ and and the Risk Reward ratio $R$ to create an expectancy ratio $E$. A expectance ratio is the expected return of the investment made in a trade. We can compute the value of $E$ as follows: +By combining the Win Rate $W$ and the Risk Reward ratio $R$ to create an expectancy ratio $E$. A expectance ratio is the expected return of the investment made in a trade. We can compute the value of $E$ as follows: $$E = R * W - L$$ diff --git a/freqtrade/plugins/pairlist/PriceFilter.py b/freqtrade/plugins/pairlist/PriceFilter.py index 4c8781184..f27fe035a 100644 --- a/freqtrade/plugins/pairlist/PriceFilter.py +++ b/freqtrade/plugins/pairlist/PriceFilter.py @@ -101,7 +101,7 @@ class PriceFilter(IPairList): def _validate_pair(self, pair: str, ticker: Optional[Ticker]) -> bool: """ - Check if if one price-step (pip) is > than a certain barrier. + Check if one price-step (pip) is > than a certain barrier. :param pair: Pair that's currently validated :param ticker: ticker dict as returned from ccxt.fetch_ticker :return: True if the pair can stay, false if it should be removed