Skip to content
Prev 1485 / 15274 Next

Intraday data with RBloomberg

Hi Ian,

I'm not aware of any delay in the intraday historical calls. For
example, I made this call at just before 11:07am London time:

 blpGetData(conn, "ERU9 COMDTY", "BEST_BID",
start=chron("7/9/7","11:05:00"), barsize=0)
                    BEST_BID
(07/09/07 11:05:18)    95.22
(07/09/07 11:05:33)    95.22
(07/09/07 11:05:33)    95.22
(07/09/07 11:05:36)    95.22
(07/09/07 11:05:43)    95.22
(07/09/07 11:05:44)    95.22
(07/09/07 11:05:46)    95.22
(07/09/07 11:05:47)    95.22
(07/09/07 11:05:51)    95.22
(07/09/07 11:06:11)    95.22
(07/09/07 11:06:13)    95.22
(07/09/07 11:06:15)    95.22
(07/09/07 11:06:15)    95.22
(07/09/07 11:06:23)    95.22
(07/09/07 11:06:23)    95.22
(07/09/07 11:06:34)    95.22
(07/09/07 11:06:42)    95.22
(07/09/07 11:06:42)    95.22
(07/09/07 11:06:47)    95.22
(07/09/07 11:06:48)    95.22
(07/09/07 11:06:57)    95.22
(07/09/07 11:06:58)    95.22
Perhaps you need to enable your terminal for live feeds on the product
under question?

As for the integration of RBloomberg with a trading system.. I guess it
depends upon what you are trying to do. I wouldn't have thought that R
is the appropriate platform on which to build an algorithmic trading
program, but I would be very interested to hear about the successful
implementation of such a thing. 

For analysis, backtesting, etc I think the Bloomberg/R solution is
ideal. But for trade execution, I prefer using feeds from the platform I
use to trade (e.g., TradingTechnologies for futures trading, TradeWeb
for OTC). There are many such platforms on the market; as I don't trade
FX, I cannot give you any useful advice here. Just about all of them
provide at least a C API, so if you have R code that you want to use in
an algorithmic trading environment, I'm sure you can integrate it with
whatever platform you end up using.

FYI.. I will put a new version of RBloomberg on cran at some point this
week.

Robert
  

-----Original Message-----
From: Ian Seow [mailto:ianseow at gmail.com] 
Sent: 07 July 2007 01:11
To: Robert Sams
Cc: davidr at rhotrading.com; r-sig-finance at stat.math.ethz.ch
Subject: Re: [R-SIG-Finance] Intraday data with RBloomberg

Hi Robert, this definitely works for me! 'BEST_BID' worked like a charm,
thank you so much.

Another point of curiousity... I am currently trying to build a model in
R which uses bloomberg price feeds (minute data) to obtain buy/sell
orders and execute them via an electronic trading platform API. I've
done something similar successfully using daily data, but this is the
first time I'm doing this on an intraday basis. My main worry is in the
time lag I've been observing when getting the bloomberg feeds (this lag
is present, regardless of whether I'm using VBA or RBloomberg)...

Could anyone with similar experiences give me some advice? Or perhaps I
should rethink the system architecture altogether, or perhaps use
another price feed more suited for this purpose?

Regards
Ian Seow
On 7/6/07, Robert Sams <robert at sanctumfi.com> wrote:
into.
prices.