diff --git a/main.py b/main.py index ba6fbd3..b826cbb 100644 --- a/main.py +++ b/main.py @@ -18,7 +18,7 @@ import exchange_wrapper import trader -version = "2025.08.25" +version = "2025.08.27" ''' Color definitions. If you want to change them, check the reference at https://en.wikipedia.org/wiki/ANSI_escape_code#Colors diff --git a/todo.txt b/todo.txt index f27eeaf..5522512 100755 --- a/todo.txt +++ b/todo.txt @@ -8,7 +8,6 @@ Mandatory: 4. Implement api key hashing. 5. Dockerize. 6. Inspect orderbook liquidity prior to changing mode from short to long (big sell market order needs to have liquidity). -7. Use create_orders ccxt method to send the batch of safety orders (Binance does not support it in spot trading) Would be nice to have: diff --git a/trader.py b/trader.py index e6f7eb6..7113afa 100755 --- a/trader.py +++ b/trader.py @@ -945,7 +945,7 @@ class trader: #It can happen if the max amount of concurrent orders is modified through an API call. max_orders = self.config.get_concurrent_safety_orders() if not self.status.get_is_boosted() else self.config.get_boosted_concurrent_safety_orders() if len(self.status.get_safety_orders())