corrected var name

This commit is contained in:
மனோஜ்குமார் பழனிச்சாமி 2022-03-26 12:04:17 +05:30
parent 4a35c8c0f3
commit 3d3b3aff3a

View File

@ -491,7 +491,7 @@ class FreqtradeBot(LoggingMixin):
# We should decrease our position
# Strategy should return value as Decimal for accuracy.
amount = abs(float(Decimal(stake_amount) / Decimal(current_exit_rate)))
if trade.amount - amount < min_exit_stake_amount:
if trade.amount - amount < min_exit_stake:
logger.info('Remaining amount would be too small')
return
if amount > trade.amount: