Frictrade
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user