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:
Matthias
2023-10-12 07:16:56 +02:00
parent 69264cc164
commit fee3c598d0
2 changed files with 11 additions and 9 deletions

View File

@@ -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:
"""