[R-SIG-Finance] RBloomberg

John Laing john.laing at gmail.com
Wed Nov 19 20:59:14 CET 2014


Larry,

Bloomberg's API allows for a data subscription but this has not yet
been implemented in the R package.

-John

On Wed, Nov 19, 2014 at 2:46 PM, Larry Shank <larry.shank at gmail.com> wrote:
> Hello -
>
> Could someone please tell me if it is possible to keep a data subscription
> open when making a bdp call when using RBloomberg (i.e. constantly updated
> real-time prices)?  For example,
>
>> library(RBloomberg)
> Loading required package: rJava
>
>> conn <- blpConnect()
> R version 2.13.2 (2011-09-30)
> rJava Version 0.9-3
> RBloomberg Version 0.4-150
> Java environment initialized successfully.
> Looking for most recent blpapi3.jar file...
> Adding C:\blp\API\APIv3\JavaAPI\v3.5.1.1\lib\blpapi3.jar to Java classpath
>
> Bloomberg API Version 3.5.1.1
>> conn
> [1] "Java-Object{org.findata.blpwrapper.Connection at 187955b}"
>
>> bdp(conn, "IBM US EQUITY", "LAST_PRICE")
>               LAST_PRICE
> IBM US EQUITY      161.2
>
> I would like the bdp call to remain open or subscribed to constantly
> update, as it does when executing the code =BDP("IBM EQUITY","LAST PRICE")
> in Excel.
>
> I appreciate any help.
>
> Thank you,
> Larry
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Finance at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions should go.



More information about the R-SIG-Finance mailing list