Added name for futures market property
This commit is contained in:
parent
3eda9455b9
commit
d99e0dac7b
@ -37,6 +37,7 @@ class Binance(Exchange):
|
||||
# (TradingMode.FUTURES, Collateral.CROSS), # TODO-lev: Uncomment once supported
|
||||
# (TradingMode.FUTURES, Collateral.ISOLATED) # TODO-lev: Uncomment once supported
|
||||
]
|
||||
name_for_futures_market = 'future'
|
||||
|
||||
@property
|
||||
def _ccxt_config(self) -> Dict:
|
||||
|
@ -30,3 +30,4 @@ class Bybit(Exchange):
|
||||
# (TradingMode.FUTURES, Collateral.CROSS), # TODO-lev: Uncomment once supported
|
||||
# (TradingMode.FUTURES, Collateral.ISOLATED) # TODO-lev: Uncomment once supported
|
||||
]
|
||||
name_for_futures_market = 'linear'
|
||||
|
@ -80,6 +80,7 @@ class Exchange:
|
||||
_supported_trading_mode_collateral_pairs: List[Tuple[TradingMode, Collateral]] = [
|
||||
# TradingMode.SPOT always supported and not required in this list
|
||||
]
|
||||
name_for_futures_market = 'swap'
|
||||
|
||||
def __init__(self, config: Dict[str, Any], validate: bool = True) -> None:
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user