From 38c7e856c428c231407e892846d81e88ce71c039 Mon Sep 17 00:00:00 2001 From: Benjamin Thomas Schwertfeger Date: Wed, 8 Jan 2025 06:47:20 +0100 Subject: [PATCH] cleanup --- src/kraken_infinity_grid/order_management.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/kraken_infinity_grid/order_management.py b/src/kraken_infinity_grid/order_management.py index 2caacf8..061c756 100644 --- a/src/kraken_infinity_grid/order_management.py +++ b/src/kraken_infinity_grid/order_management.py @@ -389,7 +389,8 @@ def new_buy_order( message = str( "Bot reached maximum value, not buying. (max value:" f" {self.__s.max_investment} {self.__s.quote_currency}," - f" current invested value: {value_of_open_orders}" + " current invested value:" + f"{round(value_of_open_orders, self.__s.cost_decimals)}" f" {self.__s.quote_currency})", ) self.__s.t.send_to_telegram(message=message)