From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server-vie001.gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,LOTS_OF_MONEY,MONEY_NOHTML, URIBL_DBL_BLOCKED_OPENDNS,URIBL_ZEN_BLOCKED_OPENDNS autolearn=no autolearn_force=no version=3.4.6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=new2025; t=1755536903; bh=oRQvKzaaKPEtHqZMXKuc6JiHb7aMHHS/A3yjNrHAeJA=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:References: Resent-Date:Resent-From:Resent-To:Resent-Cc:User-Agent: Content-Type:Content-Transfer-Encoding; b=OzjcfpUWG5y1YBobkIa5E9WuTIx5+Py7OavCjh8B/EJEtQRUromcmjeiQkcSWdLfu e8eGfF5Stk/A6gKYiLTp779ZOC9ApMg99OE3oP31cWJ0gI7Wp96yA1pqU+JVQQIUva k01vmtPFhoJyLm0JaJfV9EIQRY/1RL9curA0fujcst0T3gnXTDQCqyDsHbuSuYkhuE gdMt6H03DtmuerJ3a3C7JoUbc2QoAtIKxGjkx35dykEzHTwzjqSgCjSrgJ4HUDaIVx I9CSm68HQYVH+Eds9cQJCRaqnwpQlHfmJid9AuEgPsTHcQHv5Npc+mEykTEawUA4U1 XJ0TyH78Di92A== Received: from linux.gnuweeb.org (unknown [103.216.223.55]) by server-vie001.gnuweeb.org (Postfix) with ESMTPSA id 352E83128119; Mon, 18 Aug 2025 17:08:20 +0000 (UTC) Date: Tue, 19 Aug 2025 00:08:17 +0700 From: Ammar Faizi To: "Vignesh Kumar Nadar (731 Lexington Avenue)" , Emma Demers , Srishti Sharma Cc: Tanya Kureishi , Serena Chang , Alviro Iskandar Setiawan , gwml@vger.gnuweeb.org Subject: Follow up on Heatmap Bug with Multi-Currency Watchlist Message-ID: <20250818170817.GA288084-ammarfaizi2@gnuweeb.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Gw-Outgoing-Server-Hash: 01afd303c8b96d0c1d5e80aa96a4ee40ec69888f786fa24107c0862c0644af79 X-Gw-Message-ID: 8a6e62fb73ceddfd7bd74d390f8f9c3dcafe40052fa21ac579ad34f199e59386 X-Gw-PM-Hash: c7e8db1beb15c23f7921206ebd3e278bb877dfc820379fce064f7605aeab2e4f List-Id: Hi Vignesh, Emma, Srishti, It was nice to meet you guys. Thanks for the Zoom meeting. This is the follow up on the heatmap bug. The bug occurs when a watchlist includes assets priced in different currencies. Below is a step-by-step reproduction of the bug: 1) Create a new watchlist with USD as the base currency. 2) Add the following trades: - Buy 1 Ethereum (XETUSD:CUR) at price 4,000 USD. - Buy 1 Bitcoin (XBTUSD:CUR) at price 116,000 USD. - Buy 100 USD (USDIDR:CUR) at price 16,000 IDR (Indonesian Rupiah). In this scenario, Bitcoin should be my largest holding in USD terms. However, the heatmap incorrectly displays USDIDR as the largest holding, despite its value being only 100 USD. I think a heatmap tile is now calculated by multiplying the number of shares with the current price without caring about the currency difference. That's probably the problematic part. For now, the heatmap feature in the watchlist section completely messes my visual up and not much useful because of this bug. To be more specific for the Engineering team, I've included a JSON payload for the watchlist creation endpoint: HTTP POST https://login.bloomberg.com/watchlist-service/create/36DBC7EAF256426ABFB0F8F8D21B2A98 { "portMeta": { "name": "ABC", "currency": "USD", "isDefault": false }, "holdings": [ { "security": "XETUSD:CUR", "buydate": 1755534614182, "shares": 1, "buyprice": 4000, "torder": 0 }, { "security": "XBTUSD:CUR", "buydate": 1755534575189, "shares": 1, "buyprice": 116000, "torder": 1 }, { "security": "USDIDR:CUR", "buydate": 1755534551554, "shares": 100, "buyprice": 16000, "torder": 2 } ] } Let me know if you need further details to resolve this issue. Thank you! Best regards, -- Ammar Faizi