mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-14 11:51:19 +00:00
feat: conversion_rate should map both sides
This commit is contained in:
@@ -1884,6 +1884,8 @@ class Exchange:
|
||||
|
||||
if (proxy_coin := self._ft_has["proxy_coin_mapping"].get(coin, None)) is not None:
|
||||
coin = proxy_coin
|
||||
if (proxy_currency := self._ft_has["proxy_coin_mapping"].get(currency, None)) is not None:
|
||||
currency = proxy_currency
|
||||
if coin == currency:
|
||||
return 1.0
|
||||
tickers = self.get_tickers(cached=True)
|
||||
|
||||
Reference in New Issue
Block a user