market_is_future fix
This commit is contained in:
parent
ce0593c0e1
commit
70751b942c
@ -338,7 +338,7 @@ class Exchange:
|
||||
return self.markets.get(pair, {}).get('base', '')
|
||||
|
||||
def market_is_future(self, market: Dict[str, Any]) -> bool:
|
||||
return market.get('swap', False) is True
|
||||
return market.get(self._ft_has["ccxt_futures_name"], False) is True
|
||||
|
||||
def market_is_spot(self, market: Dict[str, Any]) -> bool:
|
||||
return market.get('spot', False) is True
|
||||
|
Loading…
Reference in New Issue
Block a user