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 = []
for symbol, market in markets.items():
if (market["swap"] and market["linear"]):
symbols.append(market["symbol"])
if self.market_is_future(market):
symbols.append(symbol)
tiers = {}
for symbol in symbols: