Add --trading-mode parameter
This commit is contained in:
@@ -329,7 +329,7 @@ class Exchange:
|
||||
return self.markets.get(pair, {}).get('base', '')
|
||||
|
||||
def market_is_future(self, market: Dict[str, Any]) -> bool:
|
||||
return market.get('future', False) is True
|
||||
return market.get('future', False) is True or market.get('futures') 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