chore: remove repetitive words

Signed-off-by: CoolCu <coolcui@qq.com>
This commit is contained in:
CoolCu 2024-04-16 15:55:36 +08:00
parent e7b907a175
commit 7fc1d38ffb
4 changed files with 4 additions and 4 deletions

View File

@ -547,7 +547,7 @@ is automatically cancelled by the exchange.
**PO (Post only):** **PO (Post only):**
Post only order. The order is either placed as a maker order, or it is canceled. 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 #### time_in_force config

View File

@ -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. 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. 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. If your protection requires a look-back period, please use `"lookback_period"` / `"lockback_period_candles"` to keep all protections aligned.

View File

@ -137,7 +137,7 @@ $$ R = \frac{\text{average_profit}}{\text{average_loss}} = \frac{\mu_{win}}{\mu_
### Expectancy ### 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$$ $$E = R * W - L$$

View File

@ -101,7 +101,7 @@ class PriceFilter(IPairList):
def _validate_pair(self, pair: str, ticker: Optional[Ticker]) -> bool: 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 pair: Pair that's currently validated
:param ticker: ticker dict as returned from ccxt.fetch_ticker :param ticker: ticker dict as returned from ccxt.fetch_ticker
:return: True if the pair can stay, false if it should be removed :return: True if the pair can stay, false if it should be removed