Downloading massive Financial Data

2 views (last 30 days)
Frank Schmull
Frank Schmull on 1 Sep 2016
Edited: Image Analyst on 1 Sep 2016
Hallo,
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});
end
f_fetchdata can be like :
function data = f_fetchdata (i, pair, gran, barsback)
fetchdata = GetHistory (pair, gran, barsback);
data(i) = fliplr(fetchdata);
end
I am new to Matlab, but I need to have a faster download of the data. Any advice?
Regards Frank

Answers (0)

Categories

Find more on Downloads in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!