update var

This commit is contained in:
மனோஜ்குமார் பழனிச்சாமி 2022-05-18 02:51:01 +05:30
parent a1111e3497
commit 3607538287

View File

@ -542,7 +542,7 @@ class FreqtradeBot(LoggingMixin):
if stake_amount is not None and stake_amount > 0.0:
# We should increase our position
self.execute_entry(trade.pair, stake_amount, price=current_rate,
self.execute_entry(trade.pair, stake_amount, price=current_entry_rate,
trade=trade, is_short=trade.is_short)
if stake_amount is not None and stake_amount < 0.0: