Add comment explaining update_open_orders
This commit is contained in:
parent
0b6014fae3
commit
3be14933d4
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user