What function in the Datafeed Toolbox 4.1 (R2011a) is equivalent to the Excel Bloomberg function BDS?

1 view (last 30 days)
I would like to know the equivalent of Bloomberg function BDS in Datafeed toolbox 4.1 (R2011a). For example, what is the equivalent in Datafeed Toolbox 4.1 (R2011a) for the following Bloomberg function?
BDS("YCGT0025 Index","CURVE_MEMBERS")

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 17 May 2023
Edited: MathWorks Support Team on 17 May 2023
Make sure that you have downloaded the latest version of BLP API (version 3.0, i.e. the' blpapi3.jar' file) from the Bloomberg and added it to the MATLAB Javaclasspath. If you have not, the instructions to do so can be found at the following link:
Once you have downloaded the 'blpapi3.jar' file and added it to the MATLAB Javaclasspath, you can execute the following commands on MATLAB Command prompt which are the equivalent of the command BDS("YCGT0025Index", "CURVE_MEMBERS") :
c = blp;
d = getdata(c, 'YCGT0025Index', 'CURVE_MEMBERS');
As a second example, the following two are equivalent as well:
BDS("mtl cn equity","ern_ann_dt_and_per")
b = blp;
d = getdata(b,'MTL CN Equity','ERN_ANN_DT_AND_PER')
 

More Answers (0)

Products


Release

R2011a

Community Treasure Hunt

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

Start Hunting!