3 messages in com.googlegroups.google-finance-apis[Google Finance APIs] Re: getting sta...
FromSent OnAttachments
markSep 8, 2008 9:14 pm 
Dion Loy (Google)Sep 12, 2008 6:47 am 
felipetOct 1, 2008 12:05 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[Google Finance APIs] Re: getting started - problems with finance gadget hello world sample codeActions...
From:felipet (txdo@gmail.com)
Date:Oct 1, 2008 12:05:56 pm
List:com.googlegroups.google-finance-apis

the hello world sample didn't work for me either "Hello world! Here is your portfolio:<br/> GOOG: <span id=_IG_SYM1_l></span> (<span id=_IG_SYM1_c></span>)<br/> AAPL: <span id=_IG_SYM2_l></span> (<span id=_IG_SYM2_c></span>)<br/> INTC: <span id=_IG_SYM3_l></span> (<span id=_IG_SYM3_c></span>)<br/>

<script type="text/javascript"> var quote = new google.finance.Quote(); quote.enableDomUpdates( { 'GOOG' : '_IG_SYM1', 'AAPL' : '_IG_SYM2', 'INTC' : '_IG_SYM3' } );

quote.getQuotes(["GOOG", "AAPL", "INTC"]); </script> "

On Sep 12, 10:48 am, "Dion Loy (Google)" <dloy+gro@google.com> wrote:

Actually I think that the finance gadget API may not work correctly in the gadget editor. You could put your gadget xml spec on a website somewhere and add it as normal to iGoogle for testing purposes to see the API in action.

On Sep 8, 9:14 pm, mark <mark@gmail.com> wrote:

Hi,

I'm new to this whole google finance API. I apologize ahead of time if I'm asking a redundant question.

1. My goal is to monitor a set of quotes from the shanghai stock exchange. If there are any significant movements (say stock X went up by more than 1%), I would like the movement to be displayed in a custom manner.  Would the finance gadget would fit my needs? I understand fromhttp://blogs.zdnet.com/Google/?p=1060 that google finance does have quotes from the shang hai exchange.

2. I started poking around with the finance gadget. I was wondering if anyone has experienced any problems with the hello world finance gadget sample as referenced by the first page of financial gadgets
-http://code.google.com/apis/finance/docs/finance-gadgets.html#hello_w...

The example here is supposed to show quotes for GOOG, AAPL, and INTC. According to the webpage, I should see something like this -

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

However, when I copied the sample code over to a google gadget editor, with no modifications, I only see the following.

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

I've only tried this after the market closes. I'm not sure if that makes a difference.

Has anyone ran the hello world sample with success? Were there any modifications to the source code? Does it matter what system/browser was used?

thanks