Filter loadable leverage tiers to stake-currency pairs

This commit is contained in:
Matthias 2022-02-13 13:04:55 +01:00
parent 96df311244
commit ad801e05f7
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,8 @@ class Okx(Exchange):
symbols = [] symbols = []
for symbol, market in markets.items(): for symbol, market in markets.items():
if self.market_is_future(market): if (self.market_is_future(market)
and market['quote'] == self._config['stake_currency']):
symbols.append(symbol) symbols.append(symbol)
tiers = {} tiers = {}

View File

@ -1,5 +1,4 @@
from datetime import datetime, timezone from datetime import datetime, timezone
from math import isclose
from random import randint from random import randint
from unittest.mock import MagicMock, PropertyMock from unittest.mock import MagicMock, PropertyMock