mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-01 17:43:06 +00:00
Move schedule to 1 minute after the hour
This will avoid congestion at :00, and make sure that the dry-run funding fees are actually already available
This commit is contained in:
@@ -132,7 +132,7 @@ class FreqtradeBot(LoggingMixin):
|
||||
# TODO: This would be more efficient if scheduled in utc time, and performed at each
|
||||
# TODO: funding interval, specified by funding_fee_times on the exchange classes
|
||||
for time_slot in range(0, 24):
|
||||
for minutes in [0, 30]:
|
||||
for minutes in [1, 31]:
|
||||
t = str(time(time_slot, minutes, 2))
|
||||
self._schedule.every().day.at(t).do(update)
|
||||
self.last_process: Optional[datetime] = None
|
||||
@@ -199,6 +199,7 @@ class FreqtradeBot(LoggingMixin):
|
||||
# Only update open orders on startup
|
||||
# This will update the database after the initial migration
|
||||
self.startup_update_open_orders()
|
||||
# self.update_funding_fees()
|
||||
|
||||
def process(self) -> None:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user