What are the functions in the Datafeed Toolbox 4.2 (R2011b) equivalent to BDH and BDP in Excel?
2 views (last 30 days)
Show older comments
I am using the Bloomberg datafeed and want to know the functions in the Datafeed Toolbox 4.2 (R2011b) that are equivalent to the Excel BDH (Bloomberg Data History) and BDP (Bloomberg Data Point) functions.
For example, I would like the equivalent to the Excel function:
=BDP("mtl cn equity","short and long term debt","fundamental public date=20111025","eqy fund per=q")
Accepted Answer
MathWorks Support Team
on 14 Feb 2012
The BLP.HISTORY function is equivalent to the BDH function in Excel. The BLP.GETDATA function is equivalent to the BDP function in Excel.
For the example given, the equivalent is:
c = blp;
aba = getdata(c, ['mtl cn equity'], {'SHORT_AND_LONG_TERM_DEBT'}, {'FUNDAMENTAL_PUBLIC_DATE','EQY_FUND_PER'}, {'20111025','Q'});
0 Comments
More Answers (0)
See Also
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!