From 46ea135b6bf4e3b5f2e54e0c951ba40dde7cf9f2 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 19 May 2022 19:42:00 +0200 Subject: [PATCH] Update dry-run considerations --- docs/configuration.md | 2 +- freqtrade/persistence/models.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 80cd52c5b..7dc907b9f 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -583,7 +583,7 @@ Once you will be happy with your bot performance running in the Dry-run mode, yo * Market orders fill based on orderbook volume the moment the order is placed. * Limit orders fill once the price reaches the defined level - or time out based on `unfilledtimeout` settings. * In combination with `stoploss_on_exchange`, the stop_loss price is assumed to be filled. -* Open orders (not trades, which are stored in the database) are reset on bot restart. +* Open orders (not trades, which are stored in the database) are kept open after bot restarts, with the assumption that they were not filled while being offline. ## Switch to production mode diff --git a/freqtrade/persistence/models.py b/freqtrade/persistence/models.py index 154f2590a..86d2f9f9c 100644 --- a/freqtrade/persistence/models.py +++ b/freqtrade/persistence/models.py @@ -69,4 +69,3 @@ def cleanup_db() -> None: :return: None """ Trade.commit() -