Add comment explaining update_open_orders

This commit is contained in:
Matthias 2020-08-21 07:24:49 +02:00
parent 0b6014fae3
commit 3be14933d4

View File

@ -134,6 +134,8 @@ class FreqtradeBot:
# Adjust stoploss if it was changed # Adjust stoploss if it was changed
Trade.stoploss_reinitialization(self.strategy.stoploss) Trade.stoploss_reinitialization(self.strategy.stoploss)
# Only update open orders on startup
# This will update the database after the initial migration
self.update_open_orders() self.update_open_orders()
def process(self) -> None: def process(self) -> None: