Using google Google Finance Portfolio Data javascript API to get simple financial-performance statistics

1,276 views
Skip to first unread message

radkri

unread,
Sep 11, 2008, 11:57:40 PM9/11/08
to Google Finance APIs and Tools
The following link shows how to access any information given a ticker
symbol, however all of this information is limited to the google
finance gadgets.

http://code.google.com/apis/finance/docs/finance-gadgets.html#hello_world_example
http://code.google.com/apis/finance/docs/finance-gadgets.html#JS_API

The latest javascript API provides support for finance data such as
portfolio creation and more
http://code.google.com/apis/finance/developers_guide_js.html

Where can I find access to simple information such as several
financial-performance statistics are included:
* Cost Basis
* Day's Gain
* Total Gain
* Market Value

http://code.google.com/apis/gdata/client-js.html#Samples
does not suggest anything about how you can access all information
that you can access using the financial gadgets javascript API.

Any help or suggestions?

Regards
Krishna

radkri

unread,
Sep 12, 2008, 12:03:14 AM9/12/08
to Google Finance APIs and Tools
Also posted in http://googledataapis.blogspot.com/2008/07/keep-eye-on-your-investments-with-new.html

First, a huge thanks for the continuous support and updates! I am new
to the finance API and wonder if I can use the google data Java API
(finance) and google javascript API modified to suit my needs in our
company web site without any legalities involved, like an open source?

Also I was wondering if there was a way to just get the market value
given a company ticker for the current time rather than without
creating a portfolio for the company and so much more! My goal is to
just get the current market value for any company ticker. What is the
best way to do it?

Actually I would like to know where I may be able to find out more
information (API) on various finance parameters/values that can be
obtained given a company ticker?


On Sep 11, 11:57 pm, radkri <chikkub...@gmail.com> wrote:
> The following link shows how to access any information given a ticker
> symbol, however all of this information is limited to the google
> finance gadgets.
>
> http://code.google.com/apis/finance/docs/finance-gadgets.html#hello_w...http://code.google.com/apis/finance/docs/finance-gadgets.html#JS_API
>
> The latest javascript API provides support for finance data such as
> portfolio creation and morehttp://code.google.com/apis/finance/developers_guide_js.html

Dion Loy (Google)

unread,
Sep 12, 2008, 9:41:16 AM9/12/08
to Google Finance APIs and Tools
> First, a huge thanks for the continuous support and updates! I am new
> to the finance API and wonder if I can use the google data Java API
> (finance) and google javascript API modified to suit my needs in our
> company web site without any legalities involved, like an open source?

You can use our APIs for commercial or non-commercial purposes.

> Also I was wondering if there was a way to just get the market value
> given a company ticker for the current time rather than without
> creating a portfolio for the company and so much more! My goal is to
> just get the current market value for any company ticker. What is the
> best way to do it?

We only offer Last price support in the gadget API. This is restricted
to display in iGoogle though, so you will not be able to display last
price/value per ticker on your website.

> > The latest javascript API provides support for finance data such as
> > portfolio creation and morehttp://code.google.com/apis/finance/developers_guide_js.html
>
> > Where can I find access to simple information such as several
> > financial-performance statistics are included:
> >     * Cost Basis
> >     * Day's Gain
> >     * Total Gain
> >     * Market Value

All of the fields available are referenced where you found the
documentation for cost basis, day's gain, total gain, market value,
etc.. (I think that may be it).

>
> >http://code.google.com/apis/gdata/client-js.html#Samples
> > does not suggest anything about how you can access all information
> > that you can access using the financial gadgets javascript API.

That is correct, not all information is available through the GData
API. The gadgets API is only available for iGoogle hosted gadgets.

Thanks!

felipet

unread,
Oct 1, 2008, 3:21:29 PM10/1/08
to Google Finance APIs and Tools
none of these samples work here...

On Sep 12, 12:57 am, radkri <chikkub...@gmail.com> wrote:
> The following link shows how to access any information given a ticker
> symbol, however all of this information is limited to the google
> finance gadgets.
>
> http://code.google.com/apis/finance/docs/finance-gadgets.html#hello_w...http://code.google.com/apis/finance/docs/finance-gadgets.html#JS_API
>
> The latest javascript API provides support for finance data such as
> portfolio creation and morehttp://code.google.com/apis/finance/developers_guide_js.html
Reply all
Reply to author
Forward
0 new messages