Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloading Yield Curve Data #381

Open
OussCHE opened this issue Jan 30, 2023 · 1 comment
Open

Downloading Yield Curve Data #381

OussCHE opened this issue Jan 30, 2023 · 1 comment

Comments

@OussCHE
Copy link

OussCHE commented Jan 30, 2023

As I am interested in downloading already constructed Yield Curve data from Bloomberg (ICVS), I realized that RBLPAPI is probably not able to do so. To give you an example when using the EXCEL add-on, you can use the BCurve function to get the Yield curve according to a certain ID. For example:

BCurve("EUR OIS";"Output";"Mid")

@klin333
Copy link

klin333 commented Jan 30, 2023

BCurve is an Excel function. To get the exact behaviour using the C++ (and hence R) API is very difficult but technically possible. You'll need the '//blp/irdctk3' service with probably 'GetSpotCurve'. You'll have to ask Bloomberg to find you the docs and schema for this service.

Anyway, the parameters required in this request, and the work involved in parsing the results, is a lot of trial and error. If you are really interested you probably are better off using the python API and work it out interactively.

If all the low level c++/python blp api steps are worked out, then I suppose it won't be too hard to translate into Rcpp implementation and hence R API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants