introduce skip_open_order_update parameter

skips startup-open-order-update
closes #4128
This commit is contained in:
Matthias
2021-02-05 20:17:38 +01:00
parent 0806202d47
commit aec22c5c3d
2 changed files with 2 additions and 1 deletions

View File

@@ -246,7 +246,7 @@ class FreqtradeBot(LoggingMixin):
Updates open orders based on order list kept in the database.
Mainly updates the state of orders - but may also close trades
"""
if self.config['dry_run']:
if self.config['dry_run'] or self.config['exchange'].get('skip_open_order_update', False):
# Updating open orders in dry-run does not make sense and will fail.
return