yql / yql-tables

YQL is extensible using a table definition. This repository will hold community contributed definitions.
http://developer.yahoo.com/yql
724 stars 416 forks source link

download option data chain from yahoo finance through Matlab #493

Open Wentiing0421 opened 4 years ago

Wentiing0421 commented 4 years ago

Hi, can anyone tell me how to download option chain from yahoo finance using Matlab? I used the GetYahooOptionChain.m function I found from Mathworks. But it didn't work and always show error like below:

Errors: Undefined function or variable "yyyymmdd".

Error in GetYahooOptionChain (line 99) if ~isempty(find(strcmp(yyyymmdd,ExpDate)))

Can anybody tell me how to deal with this error?