yql / yql-tables

YQL is extensible using a table definition. This repository will hold community contributed definitions.

Home Page:http://developer.yahoo.com/yql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yahoo.finance.option* is broken

yeldarby opened this issue · comments

I'm trying to get an options chain but it looks like Yahoo Finance has changed the markup on their page which has broken these calls.

It looks like these are the two errors:

Exception while converting tidy sanitized html to Dom

The content of elements must consist of well-formed character data or markup., url: http://finance.yahoo.com/q/op?s=GOOG&m=2015-01

I was previously using yahoo.finance.options in an old project and it did indeed used to work (early this year is the last time I had tested it).

Direct Link to Broken Query

Anyone know how I can fix this?

I had the same problem a couple of weeks ago, and decided to use google instead. I suggest to do the same.
See http://www.focalshift.com/2014/06/24/the-google-finance-api-is-still-ticking/

I'm looking into the TradeKing and E*TRADE right now; ideally if I'm going to switch this out I'll switch to something that's officially supported.

But if I can't get an API key for those and this doesn't get fixed I may resort to Google Finance. Thanks for the tip!