필터 지우기
필터 지우기

Downloading massive Financial Data

조회 수: 2 (최근 30일)
Frank Schmull
Frank Schmull 2016년 9월 1일
편집: Image Analyst 2016년 9월 1일
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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Downloads에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by