Products & Services Solutions Academia Support User Community Company

Learn more about Datafeed Toolbox   

bloomberg.getdata - Current Bloomberg data

Syntax

d = getdata(b,s,f)
d = getdata(b,s,f,o,ov)

Description

d = getdata(b,s,f) returns the data for the fields f for the security list s. This method uses the Bloomberg ActiveX® interface and does not support overrides. For more robust functionality, refer to the bloomberg.fetch method.

d = getdata(b,s,f,o,ov) returns the data for the fields f for the security list s using the override fields o with corresponding override values, ov.

Examples

The command

d = getdata(c,'ABC US Equity',{'LAST_PRICE';'OPEN'})

returns the today's current and open price of the given security.

The command

d = getdata(c,'3358ABCD4 Corp',...
    {'YLD_YTM_ASK','ASK','OAS_SPREAD_ASK','OAS_VOL_ASK'},...
    {'ASK','OAS_VOL_ASK'},{'99.125000','14.000000'})

returns the requested fields given override fields and values.

See Also

bloomberg.fetch, bloomberg.history, bloomberg.lookup, bloomberg.realtime, bloomberg.timeseries

  


Free Interactive Computational Finance CD

View demos and recorded presentations led by industry experts.

Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS