franky1978 / igoogle-legacy

Automatically exported from code.google.com/p/igoogle-legacy
1 stars 0 forks source link

Market Data API seems to be broken #664

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Description of the bug/feature.
==================================
The Market Data API does not work for me.

PLEASE FILL OUT THE FOLLOWING FOR A BUG REPORT ONLY:

What steps will reproduce the problem?
======================================
1.  Go to http://code.google.com/apis/finance/docs/finance-gadgets.html
2.  Copy the code examples into the gadget editor or save as an .xml file
3.  Add the gadget to an iGoogle page

What is the expected output?
============================
This code *should* produce output that looks like this:

Hello world! Here is your portfolio:
GOOG: 631.58 (+15.58)
AAPL: 171.46 (+1.88)
INTC: 26.65 (+1.17)

What is the actual output?
==========================
This code produces output that looks like this:

Hello world! Here is your portfolio:
GOOG: ()
AAPL: ()
INTC: ()

Which browsers have you experienced this on?
============================================
IE7

Which operating systems have you experienced this on?
=====================================================
WinXP

Please provide any additional information below.
This breaks my gadget!!!

Original issue reported on code.google.com by ericm...@gmail.com on 25 Jun 2010 at 10:36

GoogleCodeExporter commented 8 years ago
I see a response coming back from the finance api:

{"data":{"totalResults":3,"list":[{"lo":"470.56","e":"NASDAQ","op":"477.06","c":
"-2.42","evo":"","l":"472.68","hi":"477.65","lt":"6 25, 4:00PM 
EDT","ec":"+0.10","elt":"6 25, 6:40PM 
EDT","vo":"2,245,289.00","cp":"-0.51","t":"NASDAQ:GOOG","s":"GOOG","el":"472.78"
,"ecp":"0.02"},

...

}

It seems that the automatic update from the call to enableDomUpdates() isn't 
having an effect, but this is just based on copying & pasting the example. The 
Finance API forum at http://groups.google.com/group/google-finance-apis is the 
best place to pursue this problem.

Original comment by robruss...@google.com on 26 Jun 2010 at 2:50