Downloading massive Financial Data

1 view (last 30 days)
Frank Schmull
Frank Schmull on 1 Sep 2016
Edited: Image Analyst on 1 Sep 2016
I have a simple question. I need to download hourly data from 61 financial instruments. When I do it one after the other, it takes around 45 sec.
So my idea was to use the batch mode or similar (I have the par box), but this takes significantly longer.
In MATLAB pseudocode, it would look like :
for i = 1:loopsize
pair = strjoin(pairlist (i,1));
j(i) = batch (@f_fetchdata, 1,{i,pair,'H1',barsback});
f_fetchdata can be like :
function data = f_fetchdata (i, pair, gran, barsback)
fetchdata = GetHistory (pair, gran, barsback);
data(i) = fliplr(fetchdata);
I am new to Matlab, but I need to have a faster download of the data. Any advice?
Regards Frank

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!