I'm looking at building a custom stock widget that uses the stocks
API.

For example, to get Google's stocks, I call:
http://www.google.co.uk/ig/api?stock=GOOG

To get the FTSE 250 index, I just call:
http://www.google.com/ig/api?stock=MCX

But I'd like to get the FTSE All Share index price, it's symbol is
"ASX", when I call
http://www.google.com/ig/api?stock=ASX

...I get back results for 'Advanced Semiconductor Engineering'.

I know that the stocks API defaults to the NYSE market, and it appears
that if a symbol is used more than once across markets it just
displays the NYSE result (hence Advanced Semiconductor Engineering -
instead of the FTSE All Share).


So, is there a way to prefix the symbol to say "get the one from THIS
market, not FTSE" ?

I've tried so far:
http://www.google.co.uk/ig/api?stock=FTSEASX
http://www.google.co.uk/ig/api?stock=.ASX
http://www.google.co.uk/ig/api?stock=FTSE.ASX
http://www.google.co.uk/ig/api?stock=FTSE-ASX

I've even tried switching to .co.uk in the hope that the API will
assume the default market based on the countries domain, but no luck.
http://www.google.co.uk/ig/api?stock=MCX

I've also looked in the iGoogle Gadget library to see if I can find a
widget that already displays FTSE All Share - and then inspecting the
URL it calls...but so far I've not found one.

Any help would be greatly appreciated!



-- 
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/Google-Gadgets-API?hl=en.

Reply via email to