Skip to content
This repository was archived by the owner on Jun 16, 2024. It is now read-only.

Commit d7be378

Browse files
author
0x78f1935
committed
Fixed information bar where the current_price * quantity did not update
1 parent 693f88d commit d7be378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/views/api/system.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def get(self):
176176
total_fomo_price = float(round(float(work_price + fees_current_price), 8))
177177
fomo_price = float(round(float(float(total_fomo_price * quantity) + float(float(total_fomo_price * quantity) * fee_taker)), 8))
178178

179-
if system.panik: chatterer.chat(f"{quantity} {cur1} IS {previous_price_order} {cur2} WORTH - TRYING TO SELL FOR {fomo_price} {cur2}")
179+
if system.panik: chatterer.chat(f"{quantity} {cur1} IS {float(round(float(current_price * quantity), 8))} {cur2} WORTH - TRYING TO SELL FOR {fomo_price} {cur2}")
180180
else: chatterer.chat(f"{quantity} {cur1} IS {float(round(float(current_price * quantity), 8))} {cur2} WORTH - TRYING TO SELL FOR {sell_target} {cur2}")
181181

182182
if current_price > total_profit_on_each_coin or system.panik and current_price > total_fomo_price:

0 commit comments

Comments
 (0)