mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
remove unnecessary check because it will be catch anyway
This commit is contained in:
@@ -255,9 +255,6 @@ class Bitget(Exchange):
|
|||||||
def _check_delisting_futures(self, pair: str) -> datetime | None:
|
def _check_delisting_futures(self, pair: str) -> datetime | None:
|
||||||
delivery_time = self.markets.get(pair, {}).get("info", {}).get("limitOpenTime", None)
|
delivery_time = self.markets.get(pair, {}).get("info", {}).get("limitOpenTime", None)
|
||||||
if delivery_time:
|
if delivery_time:
|
||||||
if delivery_time == "-1":
|
|
||||||
return None
|
|
||||||
|
|
||||||
if isinstance(delivery_time, str) and (delivery_time != ""):
|
if isinstance(delivery_time, str) and (delivery_time != ""):
|
||||||
delivery_time = int(delivery_time)
|
delivery_time = int(delivery_time)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user