Skip to content

Commit

Permalink
Fix bot logs
Browse files Browse the repository at this point in the history
  • Loading branch information
carkod committed Sep 24, 2024
1 parent 08e4be4 commit 9b40edb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion api/deals/spot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion binquant
Submodule binquant updated from e76b75 to f526c3

0 comments on commit 9b40edb

Please sign in to comment.