How to convert this comand from Excel to Matlab to download data via Bloomber?

1 view (last 30 days)
Hello,
I need to convert this formula from Excel to Matlab to download financial data via Bloomberg.
=BDH("JP372680AAC9 Corp","PX_LAST","12/11/2013","12/11/2013", "qttyp=p" )
I have tried this command in Matlab:
P_actv = history(c,'JP372680AAC9 Corp','PX_LAST',day_1_ago,day_1_ago,... 'daily','EUR', 'pricingOption','PRICING_OPTION_PRICE' );
But for matlab there is too many input.
could someone help me to set a right command?
Thanks in advance

Answers (0)

Community Treasure Hunt

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

Start Hunting!