File Exchange

image thumbnail

Yahoo Finance Time Series Analysis Tool

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

16 Downloads

Updated 19 Jun 2013

View License

- Tool that downloads financial time series data from finance.yahoo.com 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) gmail.com

- 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 (https://www.mathworks.com/matlabcentral/fileexchange/42292-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(['http://ichart.finance.yahoo.com/table.csv?s=' , 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)
feval(varargin{:});

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

Error in
matlab.graphics.internal.figfile.FigFile/read>@(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
Acknowledgements

Inspired: Yahoo! Finance Data Loader