Frictrade

This commit is contained in:
Jérôme Delacotte
2025-11-26 18:44:18 +01:00
parent a7b09858f4
commit 682528444f

View File

@@ -653,8 +653,8 @@ class Frictrade(IStrategy):
self.printLog(exception)
return None
if current_profit > 0 and (increase >= dca_threshold and self.wallets.get_available_stake_amount() > 0) \
and (last_candle['max_rsi_24'] < 60):
if current_profit > dca_threshold and (increase >= dca_threshold and self.wallets.get_available_stake_amount() > 0) \
and (last_candle['max_rsi_24'] < 80):
try:
self.pairs[pair]['previous_profit'] = profit
stake_amount = min(self.wallets.get_available_stake_amount(), self.adjust_stake_amount(pair, last_candle))