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=1755725680; bh=w9as27jO41JXPFxYIJ4tD95FFMqzxDneITTm3WkO+S4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type:Content-Transfer-Encoding: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=dRkDi6e4Gz0u3RrbHIZP72WBCSXVM1B4oQjkXOzwj3FYkmneVoHhvveh8BANeCDVc 79ucXme6U7LuwcAGubUYzIPpeyYQV0ZPVUDHmFvhy8SiLrwxrsCFQIpr+owcvCwWmj vesg0Iea76w2XJ+hE/c5lN30oy/Vvhlzp9csjNShYeh8tkmNKgtZcar+prZUFZ5mG+ J8YRsLOuh15+V7NOtcNeYK15w+i8QGY7W3tjvyEvtkoQqmqxQOMMK38VBHIFYdtmrF fGgEWYjLgykSyDfKAndmpb+U3UHP55xQKyQ8MalddIeWkp+16I8NAr8vjckcsN8OpA pPNJgD1eTv4bw== Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by server-vie001.gnuweeb.org (Postfix) with ESMTPSA id 6CD393127F7F for ; Wed, 20 Aug 2025 21:34:40 +0000 (UTC) Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-32326789e06so323789a91.1 for ; Wed, 20 Aug 2025 14:34:40 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVrS128siTg/SUp/2vtvvn+cqMVjjGD0n5uDK9cR1iBs2giTpd3ecYu2pV/uThBjBE2nloY@vger.gnuweeb.org X-Gm-Message-State: AOJu0YxvrYLR9MElDyzMS3pqBCcyGZtmruyNNk8hYJ7NqAs5Zxwjnm9V IOypDxmcszE6mWuA2qB9Ye1wgKvfABFSWrEe032qJ4L+P0G9s4s67ad1HV+NwjKnwmWJVgT8XDT ehS7elzssZ6yp3Kp/FDEKD2D6BRZwrHw= X-Google-Smtp-Source: AGHT+IFo5QQ1ynT1TrbPZYszOGgoNvMAzIQohYINTJH2kILqYaY9c5koq7FkY4DZOLTHNISIbutWz27gWIe0PH31lfQ= X-Received: by 2002:a17:90b:4d89:b0:31e:5cc7:133 with SMTP id 98e67ed59e1d1-324ed1191c0mr363665a91.11.1755725678745; Wed, 20 Aug 2025 14:34:38 -0700 (PDT) MIME-Version: 1.0 References: <20250818170817.GA288084-ammarfaizi2@gnuweeb.org> In-Reply-To: <20250818170817.GA288084-ammarfaizi2@gnuweeb.org> From: Alviro Iskandar Setiawan Date: Thu, 21 Aug 2025 04:34:27 +0700 X-Gmail-Original-Message-ID: X-Gm-Features: Ac12FXzbCv1PAvNFxI7_Sm8wRMBE2YICtjSeva9ul5DTRLUPCOky7FQi8ureTGk Message-ID: Subject: Re: Follow up on Heatmap Bug with Multi-Currency Watchlist To: Ammar Faizi Cc: "Vignesh Kumar Nadar (731 Lexington Avenue)" , Emma Demers , Srishti Sharma , Tanya Kureishi , Serena Chang , gwml@vger.gnuweeb.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: On Tue, Aug 19, 2025 at 12:08=E2=80=AFAM Ammar Faizi wrote: > 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. BTW, a temporary solution for this, instead of using USDIDR:CUR, use USD:CUR. So the adjusted trades will be: - Buy 1 XETUSD:CUR at 4K USD. - Buy 1 XBTUSD:CUR at 116K USD. - Buy 100 USD:CUR at 1 USD. You can't track your rupiah to US dollar changes though, but at least it shows the correct heatmap tiles when you have USD in your holding. I suggest using that temporarily until the Bloomberg Engineering team fixes the multicurrency issue. tq --=20 Software Engineer & ITPM Officer Alviro Iskandar Setiawan