From 9b40edbe048d71a5c2292f733d9e79a84a76dc67 Mon Sep 17 00:00:00 2001 From: Carlos Wu Fei Date: Tue, 24 Sep 2024 18:06:39 +0100 Subject: [PATCH] Fix bot logs --- api/deals/spot.py | 3 ++- binquant | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/api/deals/spot.py b/api/deals/spot.py index 62156b67..56416104 100644 --- a/api/deals/spot.py +++ b/api/deals/spot.py @@ -269,7 +269,8 @@ def streaming_updates(self, close_price, open_price): and (float(open_price) > float(close_price)) ): self.update_deal_logs( - f"Hit trailling_stop_loss_price {self.active_bot.deal.trailling_stop_loss_price}. Selling {self.active_bot.pair}" + f"Hit trailling_stop_loss_price {self.active_bot.deal.trailling_stop_loss_price}. Selling {self.active_bot.pair}", + self.active_bot, ) self.trailling_profit() self.base_producer.update_required(self.producer, "EXECUTE_SPOT_TRAILLING_PROFIT") diff --git a/binquant b/binquant index e76b7501..f526c36f 160000 --- a/binquant +++ b/binquant @@ -1 +1 @@ -Subproject commit e76b75014adbf3757ff43f15d69648ac8ef28add +Subproject commit f526c36fd23c65fe818acfe496e71399176c9241