feat: enable USDC futures for bybit

closes #11809
This commit is contained in:
Matthias
2025-07-19 15:34:27 +02:00
parent 74067d454b
commit 3b5b8bd007

View File

@@ -1,8 +1,5 @@
"""Bybit exchange subclass"""
import logging
from datetime import datetime, timedelta
from typing import Any
import ccxt
@@ -79,11 +76,6 @@ class Bybit(Exchange):
config.update(super()._ccxt_config)
return config
def market_is_future(self, market: dict[str, Any]) -> bool:
main = super().market_is_future(market)
# For ByBit, we'll only support USDT markets for now.
return main and market["settle"] == "USDT"
@retrier
def additional_exchange_init(self) -> None:
"""