Allow forcebuy price to be a string by converting it to float

fix #3970
This commit is contained in:
Matthias
2020-11-21 10:39:49 +01:00
parent aa0c3dced8
commit 5ed85963a9
3 changed files with 5 additions and 2 deletions

View File

@@ -524,7 +524,7 @@ class RPC:
stake_currency = self._freqtrade.config.get('stake_currency')
if not self._freqtrade.exchange.get_pair_quote_currency(pair) == stake_currency:
raise RPCException(
f'Wrong pair selected. Please pairs with stake {stake_currency} pairs only')
f'Wrong pair selected. Only pairs with stake-currency {stake_currency} allowed.')
# check if valid pair
# check if pair already has an open pair