Displaying 20 results from an estimated 300 matches similar to: "PerformanceAnalytics version 0.9.6 released to CRAN"
2011 Mar 25
1
multiple plots with QQplot of PerformanceAnalytics
Hi All,
I am trying to plot 4 graphs on to 1 page using layout(...), or par(mfcol =
c(...)); with the function QQplot from the package PerformanceAnalytics.
The problem is that, no matter what order I use, it only plots 3 graphs on to 1
page and the last QQplot is shunted to the next page.
Also, this only happens to the QQplot, i.e. there is no problem with 4
Histograms.
set.seed(1033)
data
2009 Aug 17
3
Newbie question re stddev, quantmod and performanceanalytics
Hi,
I am trying to calculate the std dev of returns of YHOO so far i got:
getSymbols("YHOO")
retYHOO <- Return.calculate(Cl(YHOO))
> sd(retYHOO)
YHOO.Close
NA
but i received an NA....can any assist? tks!
--
View this message in context: http://www.nabble.com/Newbie-question-re-stddev%2C-quantmod-and-performanceanalytics-tp25001293p25001293.html
Sent from the R help
2012 Jan 15
1
problem with table.CAPM in PerformanceAnalytics
All,
I'm attempting to run this:
table.CAPM(series[,"Strat.Return",drop=FALSE],series[,"spy.Return",drop=FALSE])
and getting this error
Error in as.vector(data[, i]) : subscript out of bounds
I've searched around and cannot find a solution to the problem. I've used this in the past without problem and I'm not sure what I did different this time.
Other
2017 Aug 07
1
tidyquant error downloading symbols for Index
Hi R Helpers,
I recently tried to take advantage of the ability to download all the
tickers in the S&P 500 using the functionality of tidyquant, but it threw
an error.
For summary, the set of commands that I ran was
library(tidyquant)
tq_index_options()
tq_index("SP500")
sessionInfo()
R feedback including error message and sessionInfo are provided below.
Guidance would be
2009 Jul 03
1
The time series analysis functions/packages don't seem to like my data
I have hundreds of megabytes of price data time series, and perl
scripts that extract it to tab delimited files (I have C++ programs
that must analyse this data too, so I get Perl to extract it rather
than have multiple connections to the DB).
I can read the data into an R object without any problems.
thedata = read.csv("K:\\Work\\SignalTest\\BP.csv", sep = "\t", header
=
2016 Apr 09
1
Quantmod abline and axis configuration
Hi all,
I have this code
I want to add two ablines like this
abline(h=2400, lty=3, col="lightgrey")
abline(h=400, lty=3, col="lightgrey")
But doesnt wotk.
I alo try to set ylim from 0 to max "Foa"+1000 but I?m not able ?Is it
posible?
require(latticeExtra)
require(ggplot2)
require(reshape2)
suppressPackageStartupMessages(require(googleVis))
require(quantmod)
2007 Nov 30
1
Rolling Correlations
Hi R,
I want to do some rolling correlations. But before, I searched for
"?rollingCorrelation" and tried the example in it. But I was not
successful. What could be the problem? Here is the code I tried:
> library(zoo)
> library(PerformanceAnalytics)
> rollingCorrelation(manager.ts@Data[,1],edhec.ts@Data,n=12)
Error in inherits(object, "zoo") : object
2008 Mar 13
1
R Finance
Hi,
I am an R novice working with financial data. I am developing a
portfolio strategy evaluation technique to back-test the performance
of our screens; checking how the screened stock would've performed
over the period in question.
I am using quantmod in R to download the historical data from yahoo
and then analyzing it using PerformanceAnalytics. My problem is that,
as our screens are done
2011 Jul 17
1
FOMULATING TIME SERIES DATA FROM DATA FRAME
I am estimating Value at Risk using PerfomanceAnalytics package. The?variables are stored in a data frame. I formated the data variables using zoo() and as.xtx() but it is not working. The working example is below.
##########################################################?
reguire(zoo)
require(PerformanceAnalytics)
reguire(xts)
?
year<- c(1991-12-30, 1992-12-30, 1993-12-30, 1994-12-30)
R1
2007 Sep 10
1
Too many warnings when updating R
Hello friends,
I loaded R 2.4.1 onto a Fedora Core 6 Linux box (taking all defaults). Then
I ran these commands from within R:
options(CRAN="http://cran.stat.ucla.edu")
install.packages(CRAN.packages()[,1])
As a new user of R, I was shocked when I finished loading R and discovered
the following message:
"There were 50 or more warnings (use warnings() to see the first 50)"
2012 Jan 11
1
R problem: unable to read data in the xls-format in the PerformAnalytics package
Hallo
I have the following problem
1) Problem: I am unable to read data in the xls-format in the PerformAnalytics
package.
While it works well for several commands, e.g.
t(table.Stats(msci_ret))
it does not work for other
commands, e.g.
x
<- msci_ret[, c("CH"), drop = FALSE]
table.Drawdowns(x)
The error code is:
Error in checkData(R) :
The data cannot be
converted into a
2005 Aug 26
0
Modelling Financial Time Series with S-PLUS - Adv. Course 20th Sept '05
Insightful are now taking bookings for the Advanced Time Series Modelling
course to be held at Carlton Terrace in London SW1 on 20th September.
Advanced workshop
Extract for Financial Time Series Modelling : The Advanced Time Series Course
focuses on the most up to date theory and its application around the
following topics (note that not all topics will be covered during the
workshop)
1.
2012 Dec 06
1
Fuction Error
I'm calling a list of symbols and then using a function to build a data
frame from that symbol list. It works great until I introduce this index
symbol from yahoo '^GSPC'. When and index symbol is introduced I get and
error which is below.
> Data <- symbolFrame(symbols)
Error in get(S) : object '^GSPC' not found
Since R does not like the ^ in front of a name it
2012 Dec 03
3
error of installing/building an R package (PortfolioAnalytics) on Win 7
Hi,
I am trying to install a package (PortfolioAnalytics) of R 2.15.2 on Win 7.
I have tried the following instructions on :
http://stackoverflow.com/questions/11105131/cannot-install-r-forge-package-using-install-packages
I used svn checkout svn://svn.r-forge.r-project.org/svnroot/returnanalytics/ to
get the package and then copy it to my Win 7.
Then, on Win 7 I run:
>
2010 May 19
1
Why does my RPy2 program run faster on Windows?
Hi
This is my function. It serves an HTML page after the calculations. I'm
connecting to a MSSQL DB using pyodbc.
def CAPM(self,client):
r=self.r
cds="1590"
bm="20559"
d1 = []
v1 = []
v2 = []
print"Parsing GET Params"
params=client.g[1].split("&")
for items in
2011 Aug 31
0
QUANSTRAT: error with applySignal
hi everyone,
I want to backtest a simple strategy with RSI, im using "sigThreshold".
i took example from the http://blog.fosstrading.com/ site to understand how
quanstrat works.
but now, i have a problem with my code that i really don't understand, R
says me:
Error in match.names(column, colnames(data)) :
argument "column" is missing, with no default
please can
2015 Oct 22
0
Best way to implement optional functions?
On Thu, 2015-10-22 at 15:55 -0400, Duncan Murdoch wrote:
> I'm planning on adding some new WebGL functionality to the rgl package,
> but it will pull in a very large number of dependencies. Since many
> people won't need it, I'd like to make the new parts optional.
>
> The general idea I'm thinking of is to put the new stuff into a separate
> package, and have
2008 Aug 05
0
unexpected problem
Dear R users,
I have run into a very unexpected problem and I was hoping someone could
explain it to me.
I have a 650 000 by 12 matrix and I want to perform a rolling regression on
it, width 36 or 48, using the package performanceAnalytics.
ie: rol.lm<-rollingRegression(lm(y~x1+x2+x3+x4+x5),data=denise,width=36)
The regressions occur without a problem and I store my output (coefficients,
2023 Oct 17
1
transform a list of arrays to tibble
I work with a list of crypto assets daily closing prices in a xts
class. Here is a limited example:
asset.xts.lst <- list(BTCUSDT = structure(c(26759.63, 26862, 26852.48, 27154.15,
27973.45), dim = c(5L, 1L), index = structure(c(1697068800, 1697155200,
1697241600, 1697328000, 1697414400), tzone = "UTC", tclass = "Date"),
class = c("xts",
"zoo")), ETHUSDT
2008 Sep 11
0
Error: bad value
Dear R Users,
I am getting a strange error, also relayed by Jose Quesada about a year
ago. As below, in his message, I get "Error: bad value" to whatever I
enter into the R console.
My configuration is:
- Windows XP SP2
- R 2.7.2
Has this problem been tracked down to a specific package ? I am using the
following packages:
library(strucchange)
library(car)
library(lmtest)