search for: barsiz

Displaying 7 results from an estimated 7 matches for "barsiz".

Did you mean: barsize
2005 Mar 24
5
Bloomberg data import
Dear R Folks, I know that Enrique Bengoechea ( Credit Suisse ) had posted some code snippets for importing Bloomberg historical data into R. I found them to be very useful. Has anyone succeeded in getting the below items from Bloomberg to R? (a) historical economic release data, (b) tick/intra-day data (c) bulk data such as Index membership info, etc. If someone is willing to share their code
2011 Sep 22
2
How to adjust the y-axis range in barplot properly
...but I couldn't find any solution online. Thus, here is my problem: I would like to adjust the y-axis range in a barplot, since all my values are >70. Therefore I would like to only visualize the y-axis from 60-100 (example 1). The problem is, the range of the y-axis is adjusted, but the barsize stays the same and vanishes from the plot area. How can I "cut" the y-axis and the bars in a proper way. Unfortunatlely I dit not get "gap.barplot" function to work on the matrix in example 1. I would be very greatful for some ideas and help, cheers, Benedikt example 1: dat...
2006 Nov 22
1
RBloomberg Multi-ticker problem
...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="VOLUME", barsize=10,retval="data.frame") Error in if (typ[n] == "character") { : missing value where TRUE/FALSE needed * blpDisconnect(conn) Thank you, Shubha. [[alternative HTML version deleted]]
2006 Nov 13
1
Fetching Intraday data from Bloomberg
...erg) 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", "%Y-%m-%d")),barfields="OPEN", barsize=10,retval="data.frame") blpDisconnect(conn) write.table(dat,"Z:\h1.csv",sep=",",row.names=F,col.names=T) Now, though I give show.days="trading", in the above code, my intraday downloads also have Saturdays and Sunday data (non-active days). Why is t...
2005 Mar 31
0
Bloomberg data import SOLVED
...s <- c("Last Price","Volume") comFrom <- new("COMDate",38442.4583333333) comTo <- new("COMDate",38442.58247696760) z <- as.integer(0) histData <- try(blCon$BLPGetHistoricalData(Security=ticker, Fields=fields, StartDate=comFrom, EndDate=comTo, BarSize=z)) # Notes: # Passing in just a 0 instead of an int 0 (as z) crashes Rgui # For tick data, only one ticker is allowed in each call. # Beware of asking for a long date range; tick data can be very voluminous. # I'm sure someone can do some R-magic to fix my start and end datetimes (please!)...
2006 Dec 13
0
Problem in Converting Zoo Objects to Dataframes
...ty="daily") intra<-blpGetData(conn, c("NOK1V FH Equity","AUA AV Equity"), "LAST_PRICE", start=as.chron(as.Date("10/11/2006", "%m/%d/%Y")),end=as.chron(as.Date("12/5/2006","%m/%d/%Y")),barfields="VO LUME", barsize=10) bb=as.data.frame(intra) blpDisconnect(conn) " But there is some problem in converting "intra" zoo object to "intra" a data frame. I get the below error. > bb=as.data.frame(intra) Error in substr(x, as.integer(start), as.integer(stop)) : inva...
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 <-