Skip to content
Back to formatted view

Raw Message

Message-ID: <388630549.1867247.1284741232926.JavaMail.fmail@mwmweb024>
Date: 2010-09-17T16:33:52Z
From: Daniel Probst
Subject: RBloomberg Problem with bar

Dear All,

I would greatly appreciate a pointer regarding some problems I  am having with the "bar" function in RBloomberg. While, I have no problem with "tick" or "bdh" functions I cannot get the example?under [http://www.findata.org/rbloomberg/examples/bar.R] to run.

The example code:

library(RBloomberg)
conn <- blpConnect()
bar(conn, "RYA ID Equity", "TRADE", "2010-03-01 09:00:00.000", "2010-03-01 15:00:00.000", "60")

gives output:
> library(RBloomberg)
> conn <- blpConnect()
R version 2.11.1 (2010-05-31)
rJava Version 0.8-5?
RBloomberg Version 0.4-142?
Java environment initialized successfully.
Looking for most recent blpapi3.jar file...
Bloomberg API Version 3.3.1.1?
> bar(conn, "RYA ID Equity", "TRADE", "2010-03-01 09:00:00.000", "2010-03-01 15:00:00.000", "60")
Fehler in process.result(result, "first.column") :   Indizierung au?erhalb der Grenzen

Alternatively 

> bar(conn, "CO1 Comdty","PX_LAST", "2010-09-10 10:00:00.000","2010-09-10 10:01:00.000","1")
Fehler in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl,  :   com.bloomberglp.blpapi.InvalidConversionException: Cannot convert String  to Enumeration

while bdh(conn,"CO1 Comdty","PX_LAST","20100801","20100901") works fine

Any ideas in which direction I should search for errors?

Many Thanks
Dan Probst
___________________________________________________________
GRATIS: Spider-Man 1-3 sowie 300 weitere Videos!