From 3be14933d4cc048096177b3274d78dde47f9ed87 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 21 Aug 2020 07:24:49 +0200 Subject: [PATCH] Add comment explaining update_open_orders --- freqtrade/freqtradebot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index 929066c18..3305bb584 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -134,6 +134,8 @@ class FreqtradeBot: # Adjust stoploss if it was changed 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() def process(self) -> None: