Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Retrieve Bloomberg data for many securities

Asked by George

George (view profile)

on 4 Oct 2011
Latest activity Commented on by PS

PS (view profile)

on 24 Dec 2013

Hi all

I am trying to retrieve bloomberg data via matlab.

I am using the following commands:

c = blp;
data = getdata(c,tickers,'PX_MID');

where tickers is a cell vector with securities tickers e.g. IBM US EQUITY.

The problem is when length(tickers)>10 an error occus:

Subscripted assignment dimension mismatch.
Error in ==> blp.getdata at 146
          d.(flds{j})(i,1) = tmp{i}.(flds{j});

Any help would be appreciated

Thanks

George

1 Comment

PS

PS (view profile)

on 24 Dec 2013

hi george did you find a solution to this problem..i used the history function but seems it had errors . Was this corrected in the current version of matlab

George

George (view profile)

Products

No products are associated with this question.

0 Answers

Contact us