market_is_future fix
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user