GNOME Bugzilla – Bug 502442
Price of Pinksheet stocks on quote download is displayed funny.
Last modified: 2018-06-29 21:55:58 UTC
Please describe the problem: When online prices for Pinksheet stocks are downloaded into gnucash the prices are shown as a mathematical formula. The mathematical formula, when solved, is equal to the actual stock price. Steps to reproduce: You must have the ability to download online price quotes enabled. 1. Tools|Security Editor 2. Click Add to add a security 3. Add a stock that is on the Pinksheets. for example TUBR.PK Full name: Tubearoo Inc. Symbol/abbreviation: TUBR.PK Type: Any CUSIP 898567102 Fraction: 1 Check get online quotes Single: Yahoo Timezone: Any 4. Click OK 5. Click Close on the Securities Editor. 6. Tools|Price Editor 7. Click Get Quotes Actual results: The price is downloaded for the stock, but is shown in a mathematical format in the price editor. For example with this stock... "0 + 200001 / 2000000" Others show in the exact same format "0 + number / 2000000" and when solved, it equals the actual stock price. Expected results: The price editor should show the actual price... $0.10. Does this happen every time? yes, and for every pinksheets stock that I have tested. Other stocks such as those traded on the NASDAQ work correctly. Other information: Gnucash on Windows Vista.
I don't see why the price should display as $0.10, since the price is actually $0.1000005. But in any case, it doesn't need to display as a fraction. Fix committed as r17421 and r17429. Requesting backport for 2.2.
Please note that the Price Editor will display the price as "0.100001" in the price list, since it only shows to the nearest 0.000001, but the exact price of 0.1000005 will be shown if you click "Edit".
(In reply to comment #1) > Fix committed as r17421 and r17429. Requesting backport for 2.2. Applied to branches/2.2 in r17511 and r17512. Thanks a lot!
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=502442. Please update any external references or bookmarks.