Skip to content

Commit af1de46

Browse files
committed
chore: fix minor typos
1 parent 9d0fb9b commit af1de46

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

freqtrade/data/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def _calc_drawdown_series(
140140
max_drawdown_df["drawdown_relative"] = (max_balance - cumulative_balance) / max_balance
141141
else:
142142
# NOTE: This is not completely accurate,
143-
# but might good enough if starting_balance is not available
143+
# but will be good enough if starting_balance is not available
144144
max_drawdown_df["drawdown_relative"] = (
145145
max_drawdown_df["high_value"] - max_drawdown_df["cumulative"]
146146
) / max_drawdown_df["high_value"]

freqtrade/persistence/trade_model.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -858,9 +858,9 @@ def adjust_stop_loss(
858858
higher_stop = stop_loss_norm > self.stop_loss
859859
lower_stop = stop_loss_norm < self.stop_loss
860860

861-
# stop losses only walk up, never down!,
862-
# ? But adding more to a leveraged trade would create a lower liquidation price,
863-
# ? decreasing the minimum stoploss
861+
# stop losses only walk up, never down!
862+
# but adding more to a leveraged trade would create a lower liquidation price,
863+
# decreasing the minimum stoploss
864864
if (
865865
allow_refresh
866866
or (higher_stop and not self.is_short)

0 commit comments

Comments
 (0)