From 27d8958e7c599826f9d0589d796bdad103ddad95 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Fri, 14 Mar 2025 13:36:58 +0100 Subject: [PATCH] bugfixing --- app/restart_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/restart_json.py b/app/restart_json.py index 0d3ff7e..e4fdad2 100755 --- a/app/restart_json.py +++ b/app/restart_json.py @@ -1621,7 +1621,7 @@ async def get_ipo_calendar(con, symbols): "name": entry.get("company"), "ipoDate": entry.get("date"), "ipoPrice": entry.get("ipoPrice"), - "currentPrice": entry.get("currentPrice"), + "currentPrice": round(entry.get("currentPrice"), 2) if entry.get("currentPrice") is not None else None, "return": entry.get("return"), }) except Exception as e: