Merge branch 'freqtrade:develop' into partial_sell

This commit is contained in:
Kavinkumar
2022-03-14 12:37:01 +05:30
committed by GitHub
11 changed files with 25 additions and 23 deletions

View File

@@ -582,7 +582,7 @@ class RPC:
else:
try:
pair = self._freqtrade.exchange.get_valid_pair_combination(coin, stake_currency)
rate = tickers.get(pair, {}).get('bid', None)
rate = tickers.get(pair, {}).get('last', None)
if rate:
if pair.startswith(stake_currency) and not pair.endswith(stake_currency):
rate = 1.0 / rate