Rblp / Rblpapi

R package interfacing the Bloomberg API from https://www.bloomberglabs.com/api/
Other
166 stars 75 forks source link

Provide use-case examples for a wide range of typical functions and amend documentation to include these examples #313

Open entropy43 opened 4 years ago

entropy43 commented 4 years ago

The motivation for this issue is the comment by John Laing:

Always in favor of more extensive documentation via examples. Feel free to open a separate issue if you'd like to take that on.

Originally posted by @johnlaing in https://github.com/Rblp/Rblpapi/issues/312#issuecomment-663311031

I would like to make this a live, open thread where people can post specific queries for "how-to" get particular results back out of the Bloomberg API.

Ultimately the best / most canonical / typical / useful edge-case queries would be posted here, worked on by the community and then collated and PR'd as examples into the documentation by me (or others).

betomann commented 4 years ago

I'd like to post the 1st. query. Basically what I'm trying to do is to pull out intraday trading info for fixed income instruments, not typically the prices. Bbg help desk. For instance:

=BDH("BTU0190930@TLR1 Corp";"ASK";"2020-07-27 08:43:00";"2020-07-28 09:43:00";"Dir=V";"IntrRw=true";"Type=H";"Headers=Y";"Dts=S")