Hello I am new to the forum, and I am trying to set up MATLAB and the Esignal API connection to retrieve data. However I am having some difficulty. I am trying to follow the steps on the MATLAB mathworks website, I have build the DLL file and loaded it into the computer. I believe that I have the connection, but when i try and use the code samples from the mathworks site, I either get no data (All zeros) or when i try and acces the historical data I get the following two errors.
D = timeseries(E,'AAPL',[],{'8/01/20012','8/10/2012'},'10')
D =
Empty matrix: 0-by-11
or
> D = history(E,'ABC','CLOSE',{'8/01/2012','8/10/2012'})
??? Error using ==> subsindex
Function 'subsindex' is not defined for values of class 'esig'.
Any help in this matter would be greatly appreciated, as I can't seem to figure out what the underlying issue is. Should I try building another one of the DLL files? Or is it a simple case of wrong applications of the matlab code?
D = timeseries(E,'AAPL',[],{'8/01/20012','8/10/2012'},'10')
D =
Empty matrix: 0-by-11
or
> D = history(E,'ABC','CLOSE',{'8/01/2012','8/10/2012'})
??? Error using ==> subsindex
Function 'subsindex' is not defined for values of class 'esig'.
Any help in this matter would be greatly appreciated, as I can't seem to figure out what the underlying issue is. Should I try building another one of the DLL files? Or is it a simple case of wrong applications of the matlab code?
Comment