MATLAB Stock API Example

MatLab Stock API Example

It’s easy to use our API with MatLab, below you can find a very simple example with explanations for MatLab users. url = ‘http://eodhistoricaldata.com/api/table.csv?s=AAPL.US&api_token=YOUR_API_KEY&a=0&b=1&c=2000&d=5&e=16&f=2017&g=d’; [s,status] = urlread(url,’Timeout’,60); C = textscan(s, ‘%s%f%f%f%f%f%f’, ‘HeaderLines’, 1, ‘delimiter’, ‘,’, ‘CollectOutput’, 0); disp(C) For testing purposes you can use this API Key: api_token=OeAFFmMliFG5orCUuwAKQ8l4WWFQ67YX. Works with AAPL.US only. As you see, it’s easy […]

Read More