Azzera filtri
Azzera filtri

Downloading massive Financial Data

2 visualizzazioni (ultimi 30 giorni)
Frank Schmull
Frank Schmull il 1 Set 2016
Modificato: Image Analyst il 1 Set 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

Risposte (0)

Categorie

Scopri di più su Downloads in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by