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)))
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?