2025.08.31
This commit is contained in:
parent
5544df9bd7
commit
e88ed99d6b
2
main.py
2
main.py
|
|
@ -18,7 +18,7 @@ import exchange_wrapper
|
||||||
import trader
|
import trader
|
||||||
|
|
||||||
|
|
||||||
version = "2025.08.30"
|
version = "2025.08.31"
|
||||||
|
|
||||||
'''
|
'''
|
||||||
Color definitions. If you want to change them, check the reference at https://en.wikipedia.org/wiki/ANSI_escape_code#Colors
|
Color definitions. If you want to change them, check the reference at https://en.wikipedia.org/wiki/ANSI_escape_code#Colors
|
||||||
|
|
|
||||||
|
|
@ -1654,14 +1654,15 @@ class trader:
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
#MIGRATION: ONCE MIGRATION IS DONE, REMOVE THIS CODE
|
#MIGRATION: ONCE MIGRATION IS DONE, REMOVE THIS CODE
|
||||||
# It moves the current safety order (if it exists) to the new safety order list
|
# Copy the current safety order (if it exists) to the new safety order list
|
||||||
# It sets the concurrent safety orders setting to 1 (to avoid sending a big amount of orders at startup)
|
# Set the concurrent safety orders setting to 1 (to avoid sending a big amount of orders at startup)
|
||||||
# It saves the modified config file
|
# Save the modified config file
|
||||||
|
|
||||||
#if self.status.status_dictionary["safety_order"]["id"]!="":
|
#if self.status.status_dictionary["safety_order"]["id"]!="":
|
||||||
# self.status.set_safety_orders([self.status.status_dictionary["safety_order"]])
|
# self.status.set_safety_orders([self.status.status_dictionary["safety_order"]])
|
||||||
#self.config.set_concurrent_safety_orders(1)
|
#self.config.set_concurrent_safety_orders(1)
|
||||||
#self.config.save_to_file()
|
#self.config.save_to_file()
|
||||||
|
#self.status.set_safety_orders_filled(self.status.get_so_amount()-1)
|
||||||
|
|
||||||
#Done
|
#Done
|
||||||
self.pause = False
|
self.pause = False
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue