Yahoo! Finance API DOW

Peter Kazazes picture Peter Kazazes · Sep 26, 2011 · Viewed 14.2k times · Source

Until now, I've been using the INDU ticker to follow the DOW with the Yahoo! API. For whatever reason you were unable to directly follow ^dji ^djia or any other reasonable combination. Up until yesterday, INDU was working fine. However now I receive no data when requesting indu.

What other ticker can I use with the Yahoo! finance API that will return the DJIA?

Answer

haimg picture haimg · Sep 30, 2011

This index is not available under any other name.

However, this problem was just a temporary glitch, now resolved by Yahoo. Unfortunately, their financial data availability is very flaky lately. E.g. data available on the web page, but CSV downloads give "N/A" for all fields, etc. There were similar incidents in recent months, with stock prices for random stocks given wrong values, and more.

So, if you're building a new service around these Yahoo services, be aware that:

  1. These services are not reliable.
  2. You're breaking Yahoo ToS, so there's nothing you can do if they are broken / not working, you cannot even complain to Yahoo in good faith. According to Yahoo (post by Yahoo Developer Network Community Manager Robyn Tippins on Yahoo developer forums):

    The reason for the lack of documentation is that we don't have a Finance API. It appears some have reverse engineered an API that they use to pull Finance data, but they are breaking our Terms of Service (no redistribution of Finance data) in doing this so I would encourage you to avoid using these webservices.