Filter loadable leverage tiers to stake-currency pairs
This commit is contained in:
parent
96df311244
commit
ad801e05f7
@ -70,7 +70,8 @@ class Okx(Exchange):
|
||||
symbols = []
|
||||
|
||||
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)
|
||||
|
||||
tiers = {}
|
||||
|
@ -1,5 +1,4 @@
|
||||
from datetime import datetime, timezone
|
||||
from math import isclose
|
||||
from random import randint
|
||||
from unittest.mock import MagicMock, PropertyMock
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user