Displaying 20 results from an estimated 400 matches similar to: "Error in RBloomberg"
2010 Feb 24
2
Calling Data frame objects with spaces in their names
Hello I have the following data frame which I read from an EXCEL file, and
when i try to call one of its columns with a space in their names I am not
being able to. For example if I do EURODOLLAR$ED1.Comdty Date I obtain the
following error:
Error: inesperado sÃmbolo en "EURODOLLAR$ED1.Comdty Date"
I have also tried using . or _ instead of the space and have obtained no
succes. How do I
2010 Jan 20
0
Error on using blpGetData() function from RBloomberg package
Hello, I am using te blpGetData() function to retrieve closing prices from
bloomberg on r. This is the code that I wrote:
library(RBloomberg)
conn=blpConnect
blpGetData(conn,"ANF UN Equity","PX_LAST","2009/09/01","2009/09/10")
and I get the following error:
Error in substring(paste("0", v$day, sep = ""), first = nchar(paste(v$day)))
:
2010 Mar 17
2
Troubles on retrieving rownames
Hi guys, I am using the blp() function from RBloomberg package which returns
a matrix of prices with the columns corresponding to the security name and
the columns to the date. When I have a look at the matrix I can see the
rownames (dates) on the left of the prices but when I call the rownames()
function it returns me a NULL value. It worked perfectly until I had to
reinstall the RBloomberg
2008 Oct 02
1
RBloomberg to get dividend
I try to use RBloomberg to get the dividend for IBM. However,
blpGetData(conn, "IBM EQUITY", field="EQY_DVD_HIST_ALL",
start=as.chron("1980-01-01"))
doesn't work. It returns
EQY_DVD_HIST_ALL
(10/02/08 14:46:36) NA
I have to used
blpGetData(conn, "IBM EQUITY", "EQY_DVD_SH_12M_NET",
2006 Nov 22
1
RBloomberg Multi-ticker problem
Hi,
I am trying to download data from Bloomberg through R. If I try to
download intraday data for multiple tickers and only one field, I get
the error, written below in red. How do I get rid of this error?
> dat<-blpGetData(conn, c("NOK1V FH Equity","AUA AV Equity"),
"LAST_PRICE",
2008 Oct 07
0
RBloomberg - Converting international stock prices into $US
To all:
I'm using RBloomberg to pull historical equity prices across a range of
international markets. Bloomberg defaults to returning stock prices to
R in local currency, for example,
blpGetData(conn, "ALUA AR Equity", "PX_LAST",start="09/30/08",
end="09/30/08")
returns a stock price in Argentine Peso's. If ones use the BLPH
function directly
2011 Jan 19
1
Problem in using bdh function for Govt tickers
Hi, all
I wanted to fetch data from Bloomberg for govt bonds, and analyse it
further.
I am having trouble in getting data as when I use field=PX_LAST, it is
giving the prices but when I use field=CPN, or ISSUE_DT, it is not giving
the results and just bouncing back <NA> for that.
This is the piece of code:
> library(rJava)
Warning message:
package 'rJava' was built
2007 Sep 18
0
FW: ISIN numbers into Bloomberg tickers
Hi David,
I tried the following and get the below error messages....
con =
blpConnect(show.days="trading",na.action="previous.days",periodicity="da
ily")# connecting Bloomberg
> dat <- blpGetData(con,"US4009703799
Equity","PX_LAST",start=as.chron(as.Date("01/01/2005",
2006 Nov 13
1
Fetching Intraday data from Bloomberg
Hi Everyone.
I am downloading intraday Bloomberg data from R.
The code I give is:
library(zoo)
library(chron)
library(RBloomberg)
conn<-blpConnect(show.days="trading",na.action="previous.days",periodici
ty="daily")
dat<-blpGetData(conn, "VG1 Index", c("LAST_PRICE"),
start=as.chron(as.Date("2006-9-01",
2009 Sep 28
2
Help with time series
Hello
I'm working with a bunch of time series data. The data are downloaded from
a server and stored as ascii files prior to reading them into R.
After reading the data sets read into R with no problem and I can us the ts
function to coerce them to time series, sometimes this works and sometimes
it fails.
For example.
P38_SubB <-
2005 Nov 15
1
origin and "origin<-" functions on chron
I'm trying to use/modify some code I found (at Omegahat, but I've seem similar usage elsewhere.)
It contains the lines:
if(any(origin(chronDate)!=orig))
origin(chronDate) <- orig
Let's say:
> require("chron")
[1] TRUE
> chronDate <- chron("11/15/2005", format="m/d/y", origin.=c(12,31,1899))
> orig <- c(month=12, day=31,
2005 Nov 16
1
COM dates (was origin and "origin<-" in chron)
I was just looking for an easy way to convert between COM datetime and
chron datetime (both ways.)
I found examples on the list, but they involved origin.
Does anyone have functions for converting COM datetime <-> chron
datetimethat work "safely"?
David L. Reiner
> -----Original Message-----
> From: Gabor Grothendieck [mailto:ggrothendieck@gmail.com]
>
2007 Sep 18
1
Problem in extracting EQY_DVD_HIST from Bloomberg
Hi R,
Again the problem in Bloomberg, I give the below code,
> con =
blpConnect(show.days="trading",na.action="previous.days",periodicity="da
ily")# connecting Bloomberg
> div <- blpGetData(con,"IBM US
Equity","EQY_DVD_HIST",start=as.chron(as.Date("01/01/2005",
"%m/%d/%Y")),end=as.chron(Sys.Date()))
>
2009 Feb 03
1
Automatic creation of columns in zoo object
Hello, everyone
I have a question.
Assume I have the following zoo object:
me.la <- structure(c(1524.75, 1554.5, 1532.25, 1587.5, 1575.25, 1535.5,
1550, 1493.5, 1492.5, 1472.25, 1457.5, 1442.75, 1399, 1535.75,
1565.25, 1543.5, 1598.5, 1586.5, 1547, 1561.5, 1504.75, 1503.75,
1483.75, 1468.75, 1453.75, 1410, 1546.75, 1575.25, 1554, 1609,
1597.5, 1558.5, 1573, 1516.25, 1515.5, 1495, 1480, 1465,
2009 Jan 21
1
Two similar zoo objects with different structures, how to get same structure?
Dear all,
I have a zoo object that has following structure:
> str(bldata)
zoo [1:5219, 1:12] 91.9 91.8 91.7 91.8 91.7 ...
- attr(*, "index")=Classes 'dates', 'times' atomic [1:5219] 7305
7306 7307 7308 7309 ...
.. ..- attr(*, "format")= chr "m/d/y"
.. ..- attr(*, "origin")= Named num [1:3] 1 1 1970
.. .. ..- attr(*,
2012 May 02
0
Problem using RBloomberg blpConnect
I am using StatET/Eclipse successfully, but RBloomberg does not want to play
ball:
> conn <- blpConnect(log.level="finest")
R version 2.14.2 (2012-02-29)
rJava Version 0.9-3
RBloomberg Version 0.4-151
Java environment initialized successfully.
Looking for most recent blpapi3.jar file...
Adding C:\blp\API\APIv3\JavaAPI\v3.4.6.6\lib\blpapi3.jar to Java classpath
Error in
2012 Jul 09
1
Problem to establish Bloomberg connection / Package RBloomberg / function blpConnect()
Dear All,
when I try to call blpConnect() in order to open a connection to the
Bloomberg on my machine, I receive following error message:
R version 2.15.1 (2012-06-22)
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.4.8.1\lib\blpapi3.jar to Java
classpath
2009 Feb 27
1
Problem with RBloomberg (not the usual one)
Hello, everyone!
I have a problem with RBloomberg and this is not the usual "no
administrator rights" problem.
I have R 2.7.2, RBloomberg 0.1-10, RDCOMclient 0.92-0
RDCOMClient, chron, zoo, stats: these packages load OK.
Then, trying to connect, I get following error message:
conn <- blpConnect(show.days="week", na.action="previous.days",
2006 Dec 13
0
Problem in Converting Zoo Objects to Dataframes
Hi R experts,
The below is an RBloomerg command. The object "intra" here is a zoo
object. I need to convert this zoo object into a data frame, called bb.
"
library(zoo)
library(chron)
library(RDCOMClient)
library(RBloomberg)
conn<-blpConnect(show.days="trading",na.action="previous.days",periodici
ty="daily")
intra<-blpGetData(conn,
2011 Jul 27
3
Reorganize(stack data) a dataframe inducing names
Dear Contributors,
thanks for collaboration.
I am trying to reorganize data frame, that looks like this:
n1.Index Date PX_LAST n2.Index Date.1 PX_LAST.1
n3.Index Date.2 PX_LAST.2
1 NA 04/02/07 1.34 NA 04/02/07 1.36
NA 04/02/07 1.33
2 NA 04/09/07 1.34 NA 04/09/07