Use "is_future" to check for futures markets

This commit is contained in:
Matthias 2022-02-13 12:54:49 +01:00
parent eaf13f96f7
commit 7f0cedc769

View File

@ -70,8 +70,8 @@ class Okx(Exchange):
symbols = [] symbols = []
for symbol, market in markets.items(): for symbol, market in markets.items():
if (market["swap"] and market["linear"]): if self.market_is_future(market):
symbols.append(market["symbol"]) symbols.append(symbol)
tiers = {} tiers = {}
for symbol in symbols: for symbol in symbols: