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

gordon.morrison at hsbcib.com gordon.morrison at hsbcib.com
Mon Oct 25 15:09:07 CEST 2010


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.



More information about the R-SIG-Finance mailing list