mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
tidy up
This commit is contained in:
parent
fdf9cc1b76
commit
ef8712f4d9
|
@ -172,8 +172,9 @@ class MarketCapFilter(IPairList):
|
|||
|
||||
else:
|
||||
market = self._config['trading_mode']
|
||||
pair_format = f"{self._stake_currency.upper()}" if (market == 'spot')
|
||||
else f"{self._stake_currency.upper()}:{self._stake_currency.upper()}"
|
||||
pair_format = f"{self._stake_currency.upper()}"
|
||||
if (market == 'futures'):
|
||||
pair_format += f":{self._stake_currency.upper()}"
|
||||
for mc_pair in marketcap_list:
|
||||
test_pair = f"{mc_pair.upper()}/{pair_format}"
|
||||
if test_pair in pairlist:
|
||||
|
|
Loading…
Reference in New Issue
Block a user