mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
use dt_ts
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
import logging
|
import logging
|
||||||
import time
|
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
|
|
||||||
import ccxt
|
import ccxt
|
||||||
@@ -265,7 +264,7 @@ class Bitget(Exchange):
|
|||||||
if not isinstance(delivery_time, int) or delivery_time <= 0:
|
if not isinstance(delivery_time, int) or delivery_time <= 0:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
max_delivery = int(time.time() * 1000) + (
|
max_delivery = dt_ts() + (
|
||||||
14 * 24 * 60 * 60 * 1000
|
14 * 24 * 60 * 60 * 1000
|
||||||
) # Assume exchange don't announce delisting more than 14 days in advance
|
) # Assume exchange don't announce delisting more than 14 days in advance
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user