After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 502442 - Price of Pinksheet stocks on quote download is displayed funny.
Price of Pinksheet stocks on quote download is displayed funny.
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: General
2.2.x
Other All
: Normal normal
: ---
Assigned To: Charles Day
Andreas Köhler
Depends on:
Blocks: backport
 
 
Reported: 2007-12-08 04:56 UTC by Chris Nicodemus
Modified: 2018-06-29 21:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chris Nicodemus 2007-12-08 04:56:33 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.
Comment 1 Charles Day 2008-07-27 20:56:16 UTC
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.
Comment 2 Charles Day 2008-07-27 20:59:01 UTC
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".
Comment 3 Andreas Köhler 2008-09-19 03:05:04 UTC
(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!
Comment 4 John Ralls 2018-06-29 21:55:58 UTC
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.