[R-SIG-Finance] RBloomberg - Trade data with bargain condition codes

Ana Nelson nelson.ana at gmail.com
Tue Oct 26 10:53:01 CEST 2010


Hi, Gordon,

Looks like I need to modify the source code to fetch these, currently
they aren't being retrieved from the Bloomberg response.

Will advise when I have an update available.

Regards,
Ana



On Mon, Oct 25, 2010 at 2:09 PM,  <gordon.morrison at hsbcib.com> wrote:
>
> Does anyone have experience with getting trade condition codes on tick
> data.
>
> So, if I run .....
>
>> conn <- blpConnect()
> R version 2.11.1 (2010-05-31)
> rJava Version 0.8-6
> RBloomberg Version 0.4-144
> Java environment initialized successfully.
> Looking for most recent blpapi3.jar file...
> Bloomberg API Version 3.3.3.3
>
> Followed by ......
>> tick(conn, "RYA ID Equity", "TRADE", "2010-09-21 09:00:00.000",
> "2010-09-21 09:10:00.000")
>
> I get ......
>
>                     time  type  value  size
> 1 2010-09-21T09:06:17.000 TRADE 3.9100 35000
> 2 2010-09-21T09:07:08.000 TRADE 3.9111  2000
>
> which accords with what appears on a BBG terminal
>
> Now, if I do ......
>
> tick(conn, "RYA ID Equity", "TRADE", "2010-09-21 09:00:00.000", "2010-09-21
> 09:10:00.000",
>     option_names = c("includeConditionCodes"),
>     option_values = c("TRUE"))
>
> I get the same result, but without bargain condition codes
>
> Finally, if I download the data into Excel using the BBG interface, I get
> bargain conditions codes - so they must exist!
>
> Regards
>
>
> Gordon M Morrison
>
> ************************************************************
> HSBC Bank plc may be solicited in the course of its placement efforts for a
> new issue, by investment clients of the firm for whom the Bank as a firm
> already provides other services. It may equally decide to allocate to its
> own proprietary book or with an associate of HSBC Group. This represents a
> potential conflict of interest. HSBC Bank plc has internal arrangements
> designed to ensure that the firm would give unbiased and full advice to the
> corporate finance client about the valuation and pricing of the offering as
> well as internal systems, controls and procedures to identify and manage
> conflicts of interest.
>
> HSBC Bank plc
> Registered Office: 8 Canada Square, London E14 5HQ, United Kingdom
> Registered in England - Number 14259
> Authorised and regulated by the Financial Services Authority.
> ************************************************************
>
> -----------------------------------------
> SAVE PAPER - THINK BEFORE YOU PRINT!
>
> This transmission has been issued by a member of the HSBC Group
> "HSBC" for the information of the addressee only and should not be
> reproduced and/or distributed to any other person. Each page
> attached hereto must be read in conjunction with any disclaimer
> which forms part of it. Unless otherwise stated, this transmission
> is neither an offer nor the solicitation of an offer to sell or
> purchase any investment. Its contents are based on information
> obtained from sources believed to be reliable but HSBC makes no
> representation and accepts no responsibility or liability as to its
> completeness or accuracy.
>
> _______________________________________________
> R-SIG-Finance at stat.math.ethz.ch 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