File Exchange

image thumbnail

Yahoo Finance Time Series Analysis Tool

version 1.0 (65.1 KB) by

Performs various time series analysis operations

26 Downloads

Updated

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

Comments and Ratings (2)

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
MATLAB 8.1 (R2013a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video