This commit is contained in:
Kavinkumar 2022-02-23 15:48:53 +05:30
parent 4dce0fa3f2
commit 30398007cc

View File

@ -479,7 +479,7 @@ class FreqtradeBot(LoggingMixin):
if stake_amount is not None and stake_amount < 0.0: if stake_amount is not None and stake_amount < 0.0:
# We should decrease our position # We should decrease our position
self.execute_trade_exit(trade, current_rate, sell_reason=SellCheckTuple( self.execute_trade_exit(trade, current_rate, sell_reason=SellCheckTuple(
sell_type=SellType.CUSTOM_SELL), sub_trade_amt=stake_amount) sell_type=SellType.CUSTOM_SELL), sub_trade_amt=-stake_amount)
def _check_depth_of_market_buy(self, pair: str, conf: Dict) -> bool: def _check_depth_of_market_buy(self, pair: str, conf: Dict) -> bool:
""" """