Advanced search
Quantiacs
Quantiacs > matlab downloading data error View modes: 
maxnax - 12/28/2018 5:32:09 AM
   
matlab downloading data error

Hello, 
I am new to Quantiacs, experiencing some trouble when trying to download data.  

Using MATLAB R2018a on MacOSX

The error is similar for all trading systems.
This is the error that I get:

 

>> runts('heikinAshi')
Error using urlreadwrite>validateFileAccess (line 259)
Could not open output file "data/BAC.txt".
Error in urlreadwrite>getFileOutputStream (line 241)
filename = validateFileAccess(location);
Error in urlreadwrite (line 68)
        [file,outputStream] = getFileOutputStream(inputs.filename);
Error in urlwrite (line 40)
[f,status] = urlreadwrite(mfilename,catchErrors,url,filename,varargin{:});
Error in loaddata (line 82)
        [~, err(j)] = urlwrite(['http://www.quantiacs.com/data/' (marketlist{j})
        '.txt'], fullfile('data', [(marketlist{j}) '.txt']));
Error in runts (line 87)
    DATA_CACHE = loaddata(settings,0); 

Regards, Max H

Eric - 1/2/2019 8:30:03 AM
   
RE:matlab downloading data error
Max H,

This error means the toolkit can not write the market data that it is downloading to a file.  Make sure the data directory exists and that you can write text data to it.

Regards,

Eric

1