search for: ticker

Displaying 20 results from an estimated 159 matches for "ticker".

Did you mean: kicker
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 > tickers V1 1 BCSI 2 WBSN 3 NTAP 4 FFIV 5 SU > is.vector(...
2011 Feb 23
3
Using string to call/manipulate an object
I am using getSymbols function from quantmod package to get price data from internet. Currently I have: my.ticker <- "IBM" getSymbols(my.ticker,src="google") This creates an xts object named my.ticker which contains historical price data for IBM. How can I call and manipulating this xts object using my original string my.ticker? I want to do: colnames(my.ticker) <- c("open&qu...
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 messag...
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",&q...
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"...
2009 Feb 03
1
Automatic creation of columns in zoo object
....Dimnames = list(NULL, c("LA1 COMDTY", "LA2 COMDTY", "LA3 COMDTY", "LA4 COMDTY", "LA5 COMDTY", "LA6 COMDTY", "LA7 COMDTY", "LA8 COMDTY"))) I also have a following variable (used in RBloomberg) in my environment: me.la.tickers <- c("LA1 Comdty", "LA2 Comdty", "LA3 Comdty", "LA4 Comdty", "LA5 Comdty", "LA6 Comdty", "LA7 Comdty", "LA8 Comdty") What I need to do is to automate the following manual piece of code: me.la$LA2tr <- 0 me.la$L...
2000 Jul 07
1
reorganizing a data frame
Hi, I have what I think is an easy question. I have a data frame, called stockdata, of stock prices that looks like this: date ticker close 1 01/02/1998 GE 24.667 2 01/05/1998 GE 25.104 3 01/06/1998 GE 24.771 4 01/07/1998 GE 24.979 5 01/08/1998 GE 24.750 6 01/02/1998 HIT 71.125 7 01/05/1998 HIT 72.313 8 01/06/1998 HIT 72.563 9 01/02/1998 IN...
2011 Jan 19
1
Problem in using bdh function for Govt tickers
...lts and just bouncing back <NA> for that. This is the piece of code: > library(rJava) Warning message: package 'rJava' was built under R version 2.12.1 > library(RBloomberg) > k<-as.POSIXct("2010-12-29") > field<-c("PX_LAST") > ticker<-c("912828JV Govt","912828JY Govt") > conn <- blpConnect() R version 2.12.0 (2010-10-15) rJava Version 0.8-8 RBloomberg Version 0.4-146 Java environment initialized successfully. Looking for most recent blpapi3.jar file... Adding C:\blp\API\APIv3\JavaAPI\v3.3...
2001 Oct 04
0
ANNOUNCE: ticker (peeper)
...ollin Starkweather http://www.collinstarkweather.com Consulting Software Architect collin.starkweather@colorado.edu Ph.D. Candidate University of Colorado Department of Economics ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #!/usr/bin/perl =3Dhead1 NAME ticker - A stock monitoring client written for Peep: The Network Auralizer. Peep takes virtual events and turns them into unobtrusive sounds like birds chirping, rain falling, crickets doing whatever crickets do, etc. It is mostly used for network and systems monitoring because it is well suited for tha...
2009 Jun 25
1
apply on xts
Hi, I do not understand why after I called apply on a function that returns an xts (getIdvAdjSeries) it returns a matrix whose columns are just numeric value of time series in xts instead of a list of xts objects. Basically, I called the following: apply(matrix(tickers,ncol=1),1,FUN=getDivAdjSeries) getDivAdjSeries <- function(ticker) { seriesName <- paste(ticker,"Adjusted",sep="."); command <- parse(text=paste(ticker,"[,'",seriesName,"']",sep="")); s <- eval(command); dimname...
2012 Jul 07
1
Getting objects from quantmod ticker list
Hi all, I would need to put datas downloaded with quantmod into a matrix or a data frame. Suppose to start from here: *require(quantmod) ticker.list <- c('AAA', 'ALTSALES', 'AMBNS', 'AMBSL', 'BAA', 'EMRATIO', 'FEDFUNDS', 'GASPRICE', 'GS1', 'GS10', 'GS20', 'LNS14100000', 'MORTG', 'NAPM', 'NPPTTL', 'OILPRICE', &...
2008 Sep 05
1
casting help please
I have a data.frame which I believe is melted already and am having trouble casting it to 'wide' format. It looks something like > (x <- data.frame(ticker=c(rep("A",5),rep("B",6)), date=c(1:5, 1:6), value=c(NA,100*exp(rnorm(10,0,.1))))) > cast(x, date ~ ticker) # this does what I want with toy data But when I use my real data frame > str(prices) 'data.frame': 308188 obs. of 3 variables: $ Ticker: chr...
2013 Nov 06
1
Multiple String word replacements: Performance Issue
...| 456 | $MSFT , $EBAY doing great. www.url.com | .. +??+?????????????????????+ Should become +??????+??????????????????????????????????-??+ | ID | Text clean | First Ticker | All Ticker | Ticker Count +??+????????????????????+??????+???? +???????-?+ | 123 | [ticker] is up [positive_percentage] | $aapl | $aapl | 1 | 456 | [ticker] [ticker] doing great [url] [pos_emotion] | $...
2010 Aug 03
4
mixing strings and numeric doubles in an array
I have an array called "stocks" which contains numeric dates, ticker symbols,prices, etc. > stocks[1:3,] DATE TICKER PERMNO EXCHCD TSYMBOL TRDSTAT SHROUT PRC RET 1 19950131 EWST 10001 3 EWST A 2224 -7.75000 -0.031250 2 19950228 EWST 10001 3 EWST A 2224 7.54688 -0.026210 3...
2007 Sep 18
0
FW: ISIN numbers into Bloomberg tickers
...="data.frame") > blpDisconnect(con) used (Mb) gc trigger (Mb) max used (Mb) Ncells 480150 12.9 818163 21.9 818163 21.9 Vcells 797171 6.1 1445757 11.1 1441593 11.0 > dat [DATETIME] PX_LAST day day (09/17/07 19:43:45) NA I don't get the data...but the same statement tried with ticker works. So, any problem with ISIN's? -----Original Message----- From: davidr at rhotrading.com [mailto:davidr at rhotrading.com] Sent: Friday, September 14, 2007 10:24 PM To: Shubha Vishwanath Karanth; r-help at stat.math.ethz.ch Subject: RE: [R] ISIN numbers into Bloomberg tickers You can tr...
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...
2011 Mar 16
3
Reorganize data frame
...stocks, I have something like this: stock.returns <- data.frame(rbind(c("MSFT","20110301",0.05),c("MSFT","20110302",0.01),c("GOOG","20110301",-0.01),c("GOOG","20110302",0.04))) colnames(stock.returns) <- c("Ticker","Date","Return") stock.returns Ticker Date Return 1 MSFT 20110301 0.05 2 MSFT 20110302 0.01 3 GOOG 20110301 -0.01 4 GOOG 20110302 0.04 And want to convert it to this: stock.returns <- data.frame(rbind(c("20110301",0.05,-0.01),c("20...
2011 Apr 13
1
Assign with Paste Problem
...eed that to see the nature of the problem. How can I get the new object to be a complete copy of the old object when I use paste in both sides of the assign? Your help would be most appreciated. --John Sparks > #Careful! Removes everything in working directory! > rm(list = ls()) > > ticker<-"F" > > require(quantmod) > > getFin(paste("NYSE:",ticker,sep="")) [1] "NYSE.F.f" > NYSE.F.f Financial Statement for NYSE:F Retrieved from google at 2011-04-12 20:03:20 Use "viewFinancials" or "viewFin" to view > >...
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", start=as.chron(as.Date("2006-9-13","%Y-%m-%d")),barfields="VOLU...
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]]