Displaying 20 results from an estimated 1000 matches similar to: "R Finance"
2007 Sep 14
1
ISIN numbers into Bloomberg tickers
Hi R,
Can I convert ISIN numbers into Bloomberg tickers in the RBloomberg
package?
BR, Shubha
[[alternative HTML version deleted]]
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
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",
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",
2008 May 27
1
start() in zoo
Hi,
I'm trying to get the beginning of my zoo object's index through start
(d) but sometimes get an error:
Error in start(d):
Unused argument (s) (c(NA, 8.792, 8.725, ...)
The data(d) is retrieved from Bloomberg through RBloomberg. I am
pulling 6 tickers (which means I'm getting 6 columns), and not all of
them have data going back to my start date. When I print the
2011 Oct 07
2
Data frame aggregation
Hello,
Could anybody help me with this question?
Example data frame
NAME TICKER SHARES PERFORMANCE
John ABC 100 0.05
John ABC 1000 1.5
Alice EFG 20 0.3
Paul HIJ 50 1.0
Paul JKL 60 2.0
Paul MNO 12 3.0
I would like to aggregate this dataframe by
2012 Apr 05
1
Bloomberg API functions BAddPeriods Binterpol Bcountperiods in RBloomberg
Hi to all,
Is there a way to use the API bloomberg functions BAddPeriods Binterpol
Bcountperiods in RBloomberg?
tnks
--
View this message in context: http://r.789695.n4.nabble.com/Bloomberg-API-functions-BAddPeriods-Binterpol-Bcountperiods-in-RBloomberg-tp4534163p4534163.html
Sent from the R help mailing list archive at Nabble.com.
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,
2006 Nov 16
5
<RBloomberg Package Problem>
Hi R-Experts,
I'm currently using R 2.4.0 in Windows XP. I'm trying to download data
from Bloomberg using the package "RBloomberg", but it fails to install
the three needed packages "zoo", "chron" and 'Rbloomberg". Moreover I
am not able to find "RBloomberg" package as windows binary in CRAN
site as only for MAC it's given. Please
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",
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
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",
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
2013 Feb 05
1
failure to connect to Bloomber using Rbbg from batch script on Windows
I am having a puzzling problem with bloomberg connection. When i run from R prompt some code that has
....
library(Rbbg)
conn <- blpConnect(throw.ticker.errors = FALSE)
print("connected")
...
I establish connection every time and then proceed to get data when i run this code from R prompt. However, when i run this from a batch script, i get the following error output from Rbbg:
2005 Mar 31
0
Bloomberg data import SOLVED
Together with Enrique's running start and Prasad's work, we figured out
how to get tick data and bulk data from Bloomberg into R. Here is a code
snippet which builds on Enrique's.
----------------------------
require("RDCOMClient")
blCon <<- try(blCon <- COMCreate("Bloomberg.Data.1"), silent=TRUE)
# Always check the class of blCon before proceeding!
#
2012 Oct 29
2
find the Best-ticker
i need to find the best ticker from the group of some tickers.?
i also need to know on what basis we calculate the best ticker?
i have some idea about the if the risk rate low, or the market price
high we can say the ticker is best.
but i dont know is it true.
Anyone can help me .
Thank you
--
View this message in context:
2011 Mar 12
3
pass character vector in instrument field of get.hist.quote function
I am new to R so I apologize if my question is trivial. I have not been able
to figure out whether what I want to do is even possible.
I have a data frame of stock ticker symbols which I store into R space from
a txt file as follows:
tickers <- read.csv("stocks.txt", header=FALSE, sep=",")
tickers <- tickers[1] / the tickers are stored in the first column
>
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(*,
2011 Dec 07
1
scatterplotting stock returns using quantmod and pairs()
I want to get data for a set of ticker symbols and compute the daily return of the adjusted close using quantmod, and then scatterplot returns using pairs().
The following gets data for the list of tickers:
tickers <- c("SHY","TLT","SPY","IWM","GLD","IEV","ILF","EWJ","EPP","SAF","ASA")
2011 Sep 19
2
text matching
Hi All,
I have a character vector by name tickers
> head(tickers,10)
V1
1 ADARSHPL.BO
2 AGR.V
3 AGU
4 AGU.TO
5 AIMCO.BO
6 ALUFLUOR.BO
7 AMZ.V
8 AVD
9 ANILPROD.BO
10 ARIES.BO
I would like to extract all elements that has ".BO" in it. I tried
> grep("\.BO",tickers)
Error: '\.' is an unrecognized