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 = []
|
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user