Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
btschwertfeger committed Jan 8, 2025
1 parent e4cc20c commit 38c7e85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/kraken_infinity_grid/order_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 38c7e85

Please sign in to comment.