Why when I exit Calc and reopen the file with =getprice() functions do I get #name? and the cells repopulated with "=com.ejs.ooo.calcstockaddin.getstockprice(M10)" ? I have tried file -> reload but to no avail.
I'm running OO 3.2.0
Any help is greatly appreciated. Thanks for the extension!
This is a very nice extension. Until now, I was using a macro described in one of the OO bulletin boards to do this. This extension is lighter and easier.
One question/problem, however. This extension doesn't work with options symbols, even though the format to retrieve them from Yahoo Finance is the same as for stocks. For example:
This would appear to be a limitation of the YAHOO! service. As is demonstrated by visiting http://finance.yahoo.com/q?s=HON100619C00039000 and then clicking on the "Download Data" link on the right.
I reported the issue to YAHOO! and here is an excerpt from their reply:
Because of the recent changes in the way we display options symbols,
Yahoo! Finance does not currently offer the ability to download data on
options symbols. We do apologize for any inconvenience, and I would like
to let you know that I have shared your report with our development team
as they consider future Yahoo! Finance releases and enhancements.
Please take the following steps to resolve the issue.
1) Select "Options" under the "Tools" menu
2) In the left side of the dialog, select "Java" under "OpenOffice.org"
3) Check the "Use a Java Runtime Environment" box
4) Pick a recent version of the JRE in the list. (Might have to wait a while for OO to populate the list).
5) Push the "OK" button
6) Re-install the plug-in.
Yea, currencies would be nice but what about just simple gold and silver spot prices. It would be nice to have those too. Is there already a way to do this?
There is a problem though: Retrieving the stock prices takes significant time when a sheet contains several stocks. This becomes a bother if it happens often and/or automatically (say when switching from one sheet to another).
Suggestion: After the initial invokation at the file-open, maintain a cache of the prices corresponding to symbols - and use these for cell recalculations. These can be explicitly "updated" by the user - perhaps by clicking a button somewhere.
Adv: The user experience would be much better: once he has opened the file - there is no undue delay due to GetPrice() till the file is closed - unless he explicitly asks for updated prices.
Is there a parameter one can set in this extension that will periodically cause the quotes to update? If there isn't, how does one force an update other than closing the spreadsheet that uses GETPRICE and reopening it? Thanks.
GETPRICE is great for single symbol lookups, but if you want several quotes you have to do a separate GETPRICE for each and, in turn, contact Yahoo once per symbol. With a large number of symbols, say a dozen or more, this can take several seconds. This delay manifests itself every time you open or refresh the spreadsheet. Yahoo, however, allows for multiple symbols per lookup, e.g. http://finance.yahoo.com/q/cq?s=VTI+VEA+VWO+...
It would be a great performance enhancement to GETPRICE if it could do a single request to Yahoo for multiple symbols, then place the results in a row or column of cells.
The idea of this extension is good and usefull. But I fail to understand exactly how we have to proceed. The preceding comment gives a hint but it doesn't seem to work for me. Could a demonstration be posted here by the author?
Thanks
I've been hoping for an extension like this for Firefox, and thank you for providing it. It works fine but I have one thing to point out: The ticker symbols must be contained in a separate cell, with that cell referenced by the GETPRICE function. My first try was to just put the ticker symbol within the () of the function, but that doesn't work. In other words, GETPRICE(xom) will not work, but GETPRICE(C12) works fine if "xom" is the content of C12.
Would love to see more parameters available, such as change, volume, date, etc., but this is great as is.
To call the GETPRICE function with a symbol directly (as opposed to referencing the contents of a cell), put double-quotes around the symbol. For example:
By any use of this Website, you agree to be bound by these Policies and Terms of Use
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Comments
Error when reopening file
Why when I exit Calc and reopen the file with =getprice() functions do I get #name? and the cells repopulated with "=com.ejs.ooo.calcstockaddin.getstockprice(M10)" ? I have tried file -> reload but to no avail.
I'm running OO 3.2.0
Any help is greatly appreciated. Thanks for the extension!
Fixed?
Well it seems to have fixed itself :)
Option quotes
This is a very nice extension. Until now, I was using a macro described in one of the OO bulletin boards to do this. This extension is lighter and easier.
One question/problem, however. This extension doesn't work with options symbols, even though the format to retrieve them from Yahoo Finance is the same as for stocks. For example:
=GETPRICE("HON") gives $48.27, the current stock price retrieved from http://finance.yahoo.com/q?s=HON
BUT
= GETPRICE("HON100619C00039000"), the HON June 19 Call option price, retrieved from http://finance.yahoo.com/q?s=HON100619C00039000 gives "0"
Only the length of the symbol is different, and it'll be great if there is a fix for this.
Thanks for a great extension!
Option quotes (YAHOO! limitation)
This would appear to be a limitation of the YAHOO! service. As is demonstrated by visiting http://finance.yahoo.com/q?s=HON100619C00039000 and then clicking on the "Download Data" link on the right.
I reported the issue to YAHOO! and here is an excerpt from their reply:
Because of the recent changes in the way we display options symbols,
Yahoo! Finance does not currently offer the ability to download data on
options symbols. We do apologize for any inconvenience, and I would like
to let you know that I have shared your report with our development team
as they consider future Yahoo! Finance releases and enhancements.
Installation problem
When I try to install it says: Could not create Java implementation loader.
I have Win XP with all the updates, and Java version 6 update 19 (build 1.6.0_19-b04)
Installation problem (Solution)
Please take the following steps to resolve the issue.
1) Select "Options" under the "Tools" menu
2) In the left side of the dialog, select "Java" under "OpenOffice.org"
3) Check the "Use a Java Runtime Environment" box
4) Pick a recent version of the JRE in the list. (Might have to wait a while for OO to populate the list).
5) Push the "OK" button
6) Re-install the plug-in.
Thank you
Now it works very nicely.
ATB.
Nice function
Very useful for looking at current valuations, but I'd also like a date parameter so that historical prices could be obtained.
Nice function (Future Enhancement)
Thanks for the feedback. I will consider this as a future enhancement.
Great add in
Is it possible to develop a similar lookup for foreign exchange rates?
Cheers
Gold and Silver
Yea, currencies would be nice but what about just simple gold and silver spot prices. It would be nice to have those too. Is there already a way to do this?
Thanks
Thanks for a very useful extension.
There is a problem though: Retrieving the stock prices takes significant time when a sheet contains several stocks. This becomes a bother if it happens often and/or automatically (say when switching from one sheet to another).
Suggestion: After the initial invokation at the file-open, maintain a cache of the prices corresponding to symbols - and use these for cell recalculations. These can be explicitly "updated" by the user - perhaps by clicking a button somewhere.
Adv: The user experience would be much better: once he has opened the file - there is no undue delay due to GetPrice() till the file is closed - unless he explicitly asks for updated prices.
Thanks again.
Refreshing stock quote date
Is there a parameter one can set in this extension that will periodically cause the quotes to update? If there isn't, how does one force an update other than closing the spreadsheet that uses GETPRICE and reopening it? Thanks.
refreshing stock quote
garbanzo,
yes, you can reload any time you want: file=>reload
refreshing stock quote by Copy&Paste!
It's possible to reload yahoo! quotes by copying and pasting the formula from/into the same cell.
Have fun and enjoy this great addon!
Gnap
open high low close
Hi, I'd love to see it retrieve open, high, low, close and possibly even volume.
If you'd like help with that, I can help (I know java).
Behind a proxy?
Hi,
is it possible to make this extension work behind a proxy server with authentification?
Hylli
Using the extension
The function can be used two ways:
GETPRICE(a1) -- accesses cell a1 and expects to find a valid alphabetic ticker symbol to look up
GETPRICE("TICK") -- uses the characters enclosed in quotes as a ticker symbol to look up
If you forget the quotes, it will not give a valid result. Hope this helps...
Multiple symbols
GETPRICE is great for single symbol lookups, but if you want several quotes you have to do a separate GETPRICE for each and, in turn, contact Yahoo once per symbol. With a large number of symbols, say a dozen or more, this can take several seconds. This delay manifests itself every time you open or refresh the spreadsheet. Yahoo, however, allows for multiple symbols per lookup, e.g. http://finance.yahoo.com/q/cq?s=VTI+VEA+VWO+...
It would be a great performance enhancement to GETPRICE if it could do a single request to Yahoo for multiple symbols, then place the results in a row or column of cells.
How exactly?
The idea of this extension is good and usefull. But I fail to understand exactly how we have to proceed. The preceding comment gives a hint but it doesn't seem to work for me. Could a demonstration be posted here by the author?
Thanks
Great little Extension
I agree with Bob W. A very useful add-on. I too would love to see additional look-ups such as "change" if that is possible.
Highly recommend
GETPRICE
I've been hoping for an extension like this for Firefox, and thank you for providing it. It works fine but I have one thing to point out: The ticker symbols must be contained in a separate cell, with that cell referenced by the GETPRICE function. My first try was to just put the ticker symbol within the () of the function, but that doesn't work. In other words, GETPRICE(xom) will not work, but GETPRICE(C12) works fine if "xom" is the content of C12.
Would love to see more parameters available, such as change, volume, date, etc., but this is great as is.
Bob W.
Ticker Symbol as a String
To call the GETPRICE function with a symbol directly (as opposed to referencing the contents of a cell), put double-quotes around the symbol. For example:
=GETPRICE("XOM")