Thanks so much Ana, that worked a treat. I've been looking for the API
Reference guide and cannot seem to find it. I've found the API
Developer's Guide (version 2.22, published May 28, 2010), but I can't
find the details on options supported by bdh. Could you let me know the
exact name of the Reference guide and then I'll see if I can track it
down on Bloomberg.
Thanks again,
Kent
-----Original Message-----
From: Ana Nelson [mailto:nelson.ana at gmail.com]
Sent: Friday, June 18, 2010 3:02 AM
To: r-sig-finance at stat.math.ethz.ch
Cc: Voss, Kent
Subject: Re: [R-SIG-Finance] Rbloomberg currency conversion
Hi, Kent,
Thanks for sending version info and a reproducible example! Page 96 of
Bloomberg API Reference has details on the options supported by
Historical Data Request.
"currency Optional string Currency of the ISO Code. The 3 letter ISO
code."
So what you probably want is:
Data <- bdh(conn, Instruments, Field, start_date=StartDate,
option_names="currency", option_values="USD")