File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2011,14 +2011,14 @@ def handle_cancel_exit(
20112011
20122012 def _safe_exit_amount (self , trade : Trade , pair : str , amount : float ) -> float :
20132013 """
2014- Get sellable amount.
2014+ Get exitable amount.
20152015 Should be trade.amount - but will fall back to the available amount if necessary.
20162016 This should cover cases where get_real_amount() was not able to update the amount
20172017 for whatever reason.
20182018 :param trade: Trade we're working with
2019- :param pair: Pair we're trying to sell
2019+ :param pair: Pair we're trying to exit
20202020 :param amount: amount we expect to be available
2021- :return: amount to sell
2021+ :return: amount to exit
20222022 :raise: DependencyException: if available balance is not within 2% of the available amount.
20232023 """
20242024 # Update wallets to ensure amounts tied up in a stoploss is now free!
@@ -2058,7 +2058,7 @@ def execute_trade_exit(
20582058 """
20592059 Executes a trade exit for the given trade and limit
20602060 :param trade: Trade instance
2061- :param limit: limit rate for the sell order
2061+ :param limit: limit rate for the exit order
20622062 :param exit_check: CheckTuple with signal and reason
20632063 :return: True if it succeeds False
20642064 """
You can’t perform that action at this time.
0 commit comments