removed migration code
This commit is contained in:
parent
84bada9967
commit
f7365c0340
11
trader.py
11
trader.py
|
|
@ -1690,17 +1690,6 @@ class trader:
|
|||
self.broker.logger.log_this("Couldn't load take profit order (broker returned empty order). Aborting.",1,self.status.get_pair())
|
||||
self.quit = True
|
||||
return 1
|
||||
|
||||
#MIGRATION: ONCE MIGRATION IS DONE, REMOVE THIS CODE
|
||||
# Copy the current safety order (if it exists) to the new safety order list
|
||||
# Set the concurrent safety orders setting to 1 (to avoid sending a big amount of orders at startup)
|
||||
# Save the modified config file
|
||||
|
||||
#if self.status.status_dictionary["safety_order"]["id"]!="":
|
||||
# self.status.set_safety_orders([self.status.status_dictionary["safety_order"]])
|
||||
#self.config.set_concurrent_safety_orders(1)
|
||||
#self.config.save_to_file()
|
||||
#self.status.set_safety_orders_filled(self.status.get_so_amount()-1)
|
||||
|
||||
#Done
|
||||
self.pause = False
|
||||
|
|
|
|||
Loading…
Reference in New Issue