File Exchange

image thumbnail

Yahoo Finance Time Series Analysis Tool

version (65.1 KB) by Christian Pass
Performs various time series analysis operations


Updated 19 Jun 2013

View License

- Tool that downloads financial time series data from and performs various time series analysis operations

- Documentation of functions to follow with the next release

- Further functions will be added over time. Suggestions either in the comments or cpass82 (at)

- Code needs to be shortened and optimized, error management is in very early stages of development, so carefully check your inputs

Cite As

Christian Pass (2020). Yahoo Finance Time Series Analysis Tool (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

Thanks, Christian but this breaks in Matlab 2019a.

Dear Christian thank ypu for your efforts. But I have some questions:

I have used MATLAB2016a. When I use your app, I have received these statements:

"Error using urlreadwrite>validateFileAccess (line 259)
Could not open output file "table.csv".

Error in urlreadwrite>getFileOutputStream (line 241)
filename = validateFileAccess(location);

Error in urlreadwrite (line 68)
[file,outputStream] = getFileOutputStream(inputs.filename);

Error in urlwrite (line 38)
[f,status] = urlreadwrite(mfilename,catchErrors,url,filename,varargin{:});

Error in YFTSAT_v1_4>ButtonStart_Callback (line 564)
urlwrite(['' , get(handles.TickerSymbol, 'String') , '&a=' ,
get(handles.MonthStart, 'String') , '&b=' , get(handles.DayStart, 'String') , '&c=' , get(handles.YearStart, 'String')
, '&d=' , get(handles.MonthEnd, 'String') , '&e=' , get(handles.DayEnd, 'String') , '&f=' , get(handles.YearEnd,
'String') , '&g=' , TimeInterval , '&ignore=.csv'],'table.csv');

Error in gui_mainfcn (line 95)

Error in YFTSAT_v1_4 (line 42)
gui_mainfcn(gui_State, varargin{:});

Error in>@(hObject,eventdata)YFTSAT_v1_4('ButtonStart_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback"

Brilliant tool and the number of options provided is large even for a Quant.
Also pls note that the variables it creates in the session are overwritten when you fetch new ticker data.
Pls. rename your variables before loading again.

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: Yahoo! Finance Data Loader