Use "is_future" to check for futures markets
This commit is contained in:
parent
eaf13f96f7
commit
7f0cedc769
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user