From 0581e00b54eeffbebb3936fb0578707eac0b4786 Mon Sep 17 00:00:00 2001 From: Spicymufinhd <93550178+Spicymufinhd@users.noreply.github.com> Date: Mon, 1 Nov 2021 16:54:50 -0400 Subject: [PATCH] Update Home.cs --- NHB3/Home.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NHB3/Home.cs b/NHB3/Home.cs index 859159f..ff624c5 100644 --- a/NHB3/Home.cs +++ b/NHB3/Home.cs @@ -250,7 +250,7 @@ private void runBot() { Console.WriteLine("?adjust price?; order {0}, speed {1}, rigs {2}, price {3}, step_down {4}", order["id"], order_speed, rigs_count, order_price, price_step_down); if (saved.increasePrice && (order_speed == 0 || rigs_count == 0)) { - float new_price = (float)Math.Round(order_price + (price_step_down * -1), 4); + float new_price = (float)Math.Round(order_price + (0.05), 4); Console.ForegroundColor = ConsoleColor.Yellow; Console.WriteLine("===> price up order to {0}", new_price); ac.updateOrder("" + order["algorithm"]["algorithm"], "" + order["id"], new_price.ToString(new CultureInfo("en-US")), "" + order["limit"]);