I did it using google finance, php and javascript
http://nitin.tech4you.org/Stock%20Widget.html
On May 20, 11:47 pm, Joe <joe....@gmail.com> wrote:
Hi Docchang,
You can access the Google Finance data which is available as a JSON
feed (similar to XML but with a few advantages). From there, you can
built your own tools to display the data or use some of Google's other
tools such as the charting
http://code.google.com/apis/chart/types.html
or visualization tools
http://code.google.com/apis/visualization/documentation/gallery.html
to display the data.
From a technical standpoint, it's wide open.
From a legal standpoint, not so much. The US data available is Real
Time, which means you can't legally display the data without putting
in place a number of exchange agreements. Dealing with the exchanges
is not unlike dealing with the mafia. They want your money and have a
gang of thugs (or in this case lawyers) ready to break your legs to
get it. On the upside, other exchanges show delayed data which can be
displayed without restriction.
If you are just building a small tool for personal use, then your not
in any great danger. If you wish to use it for a commercial site, you
may wish to use the Yahoo feed for US data which is delayed. Data for
non US exchanges seems to be delayed, though I've only checked
Canada.
I made up a proof of concept page athttp://mcenaney.ca/code/gfinance/
if you wish to see it. Fair warning - I've only tested it on Chrome
and Safari so that page is probably quite buggy on ie and firefox.
regards,
On Apr 28, 4:01 pm, docchang <doc....@gmail.com> wrote:
I want to use the stock historical data on my website with some other
calculation and display it like google finance chart. I want to
educate people on some concept and provide additional information on
the given stock.